✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Editing subplot layouts (Changing subplot titles after button pressed)

I am new on plotly. Is there a way to edit subplot layouts after a button pressed such as changing subplot titles and axes?

Thank you!

Hi @alimert,

If you display the figure as a plotly.graph_objs.FigureWidget in the JupyterNotebook you can make updates to the figure after it is displayed. I believe the subplot figure titles (as created by tools.make_subplots) are stored as annotations in figure.layout.annotations.

Hope that helps!
-Jon

1 Like