# Create table with different row heights

**URL:** <https://community.plotly.com/t/create-table-with-different-row-heights/53622>\
**Category:** 📊 Plotly Python\
**Created:** [June 7, 2021, 8:26am UTC](https://community.plotly.com/t/create-table-with-different-row-heights/53622 "2021-06-07T08:26:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamsonBold](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@SamsonBold](https://community.plotly.com/u/SamsonBold)\
**Post date:** [June 7, 2021, 8:26am UTC](https://community.plotly.com/t/create-table-with-different-row-heights/53622/1 "2021-06-07T08:26:17Z")

</div>

Hello Community,

is it possible to change the heights of different rowsa with different values?

I’ve tried as following:

indWidth = 2  
#indWidth should be [2, 20, 2, 20, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2]

fig = go.Figure(data = [go.Table(cells = dict(values = vl\_data, line\_color = ‘black’, font\_color = ‘black’, fill\_color = vl\_co, height = indWidth))], layout = go.Layout(height=600, width = 800))

fig.update\_traces(columnwidth = colWidth)  
fig.show()

Since the code doesn’t work with indWidth as a list of int. So I’m asking myself and now you, if there is another possibility to this problem.

Thanks  
Samson
