Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬 Register for the Oct 27 webinar.

Where to Access dcc.Graph title when layout is editable?

Hi all, I have a series of graphs where I set config = {editable: True} since I want the user to be able to edit the titles of their graphs. However, sometimes I want to change other parts of the figure layout explicitly but doing so overrides the edits a user might have made to the title. I’m just wondering when a user edits a layout title using config = {editable: True}, where the edited information is stored. That way I can try to grab it and remember it when making other changes to the layout.

I’ve tried looking into figure[‘layout’][‘title’] but that returns the original title and not the edited one. Please let me know if any more information is needed.

Maybe try the relayoutData property? We’ve also discussed a new API for this in this issue: https://github.com/plotly/dash-core-components/issues/584