You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Add modebar button to download figure JSON #7917
Hi Plotly team,
Could Plotly add a built-in modebar button to download the current figure as Plotly JSON?
Use case: in scientific visualizations, users often generate a plot in a web app, then want to customize it further by editing the underlying figure definition. Vega users can inspect/export a Vega spec and modify it directly; it would be useful to have a similar path for Plotly figures.
Ideally the button would export the current figure as JSON containing data, layout, and optionally config.
This can be implemented today with a custom modebar button, but built-in support would standardize the behavior and avoid every project reimplementing it.
Activity
robertclaus commentedon Jul 23, 2026
Thanks for the suggestion. Agreed that this would be useful.
VinzentRisch commentedon Sep 3, 2026
Oh Wow thank you for the update!