-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable updating the config of a plot without changing other parameters #6394
Comments
Haha how timely, @archmoj and I were just discussing this exact question yesterday in the context of #6393 Sometimes it works to change config via
Right, we should save that but currently we do not. At the moment we have only |
Haha funny timing indeed @alexcjohnson!
I needed this because
does not work (it erases the previous config and returns to default modebar buttons...). What would you use in the meantime ? :) |
You can try Plotly.newPlot(element, element.data, element.layout, { ...element._context, staticPlot: true }); |
We can change the
layout
of an existing plot withPlotly.relayout
, change thedata
withPlotly.react
, but how to change the config of a plot without changing the other parameters?Example:
How to get
element.config
in the same wayelement.layout
andelement.data
exist?The text was updated successfully, but these errors were encountered: