Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Plt.tight_layout() in plotly

Hi ,

I have not been able to find the equivalent command in plotly for making sure that the labels on the xaxis has not been cut for the plot. Could anyone point me to the equivalent syntax for plotly python - thanks!

@pgreisen To get the same effect as the plt.tight_layout() define the layout margin conveniently.
The default margin is defined by:

margin=dict(l=80, r=80, t=100, b=80)

Take b=90 or b=100 (b means bottom).