-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix logging and notifyOnLogging to work with Plotly.newPlot calls #4994
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
Conversation
…il we could pass gd
If we're concerned about this refactoring shaking something loose at runtime that causes silent/subtle failures, could we try adding some extra runtime checks at the top of all the function definitions that we're changing which error out if the first argument is not as expected, and then run the test suite? That might flush out some extra silent failures? We wouldn't commit this code into master but as an extra one-time safety check? Otherwise, would this be a safer change if we added an argument instead of changing the first one? |
@nicolaskruchten thanks very much for the feedback. Adding this new On the other hand checking the first argument in the test looks like a good idea; although in the end we may not catch anything new since those tests are passing already. Anyway I could give it a try. |
- and resolve conflicts in src/plots/cartesian/axis_defaults.js
Notes by @alexcjohnson:
|
Good call. Done in bddd218. |
Searching DOM elements for |
Fixes #4555 thanks to #4555 (comment).
TODO:
@plotly/plotly_js