-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
React to config changes #7475
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
base: master
Are you sure you want to change the base?
React to config changes #7475
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems okay, but before I approve could you please provide a description and some steps to reproduce the issue? Then I can test before/after changes and see the fix in action.
Never mind, just saw your comment in the PR description. In that case, would it make sense to open another issue which can be closed by this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me.
Call react again to ensure transitions are triggered Remove obsolete references to configChanged
Yes. I have a comment drafted about that, but never submitted it. 🤦 |
Description
Use
newPlot
if config has changed instead of_doPlot
insidePlotly.react
.Supersedes #6395.
Changes
newPlot
should be usedTesting
Notes
gd.data
orgd.layout
. For that reason, I don't think that this PR fixes the original issue in enable updating the config of a plot without changing other parameters #6394 so I'm not going to close that issue once this merges.