Plotting layout problem with xaxis


I am trying to plot two figures in a layout.

layout is set to layout = (2,1), and I got a problem with xaxis.

the top of xaxis appears in the bottom figure. Is there any way to fix this?

Thank you.

are you using Plots.jl with the gr backend?
You could try to increase the bottom margin:

1 Like

I am currently using plotlyjs.

It seems to be solved with the gr backend without any modification.

Is there any solution for the plotlyjs?

Thank you for your reply.

There seems to be an open issue on this.
The workaround being to plot in a browser window via the plotly() backend instead of an electron window with plotlyjs()