How to reduce vacant space after merge subplots in plotly javascript

Hi Community,
Currently i’m merging 2 subplots in 1 plot based on some unit, but 1 plot’s vacant space is not updating, due to this it’s not looking good, so how to merge 2 subplots and space should be maintained.

Hey @nishku please add some more information, otherwise it’ll be almost impossible to help you.

Hey Thanks for the response ,
Here firstly i’ve created subplot as per data array and the as per unit merging 2 subplots but subplots size not auto-arranging
Before Merge -


After merge -

Hard to tell. Could you add the code+data (or dummy data) to create the graph?

1 Like