Editing subplot layouts (Changing subplot titles after button pressed)


#1

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!


#2

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