if you share the x_axis between 2 plots, they will get aligned, as expected.
however, the axis is displayed only once, on a single plot and not on both anymore.
Is it possible to display the axis on each plot?
If you want separate tick marks on each subplot after using shared_xaxes=True
Simply do the following to re-enable them one-by-one manually:
figure.update_layout(xaxis_showticklabels=True)
figure.update_layout(xaxis2_showticklabels=True)
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With