Black Lives Matter. Please consider donating to Black Girls Code today.

Change layout of a subplot figure

Hi,

First of all I must say that I’m new to Dash.

I have a subplot with 4 figures in it. Three of them can share the same layout because the are basic lines charts.

But one of them is a linear gauge (from the website example) and needs a particular layout.
Is it possible to add a layout the same way you pass a trace ? Which would look something like : fig.append_layout(my_layout, 1, 2)

To bypass this today I have divided my subplot : 1 subplot with 3 line chart and 1 figure
I then style the Graph in the layout to have a width of 80% and 20% with a display inline-block.

Thanks for your feedback