-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Make notify-on-logging work with newPlot #4555
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
Comments
.. and |
Currently, the Line 13 in 8f049fd
and uses it to determine which log to show in the console and/or the notifier popups. The default plot config object can be mutated using plotly.js/src/plot_api/plot_api.js Lines 402 to 404 in 8f049fd
and this is the only way to get the Routines that depend on the other config options do not rely on the default plot config object; they instead rely on the "graph" config (i.e context) coerced in plotly.js/src/plot_api/plot_api.js Lines 419 to 524 in 8f049fd
So, to make the // on https://github.com/plotly/plotly.js/blob/8f049fddbac0ca0382816984b8526857e9714fe6/src/plot_api/plot_api.js#L146
Lib.log('Legacy polar charts are deprecated!');
// would become
Lib.log(gd, 'Legacy polar charts are deprecated!'); Things might get annoying for cases when Note also, that queue module also uses the default plot config object: Line 12 in 8f049fd
Lines 91 to 94 in 8f049fd
This thing is mostly deprecated, but maybe it would be a good idea to make it work with |
Hmm... it seems we need to pass plotly.js/src/plot_api/template_api.js Line 33 in 12303db
plotly.js/src/plot_api/template_api.js Line 287 in 12303db
which may require publishing a major version. |
Support for graph div as first argument for |
@alexcjohnson @nicolaskruchten what should be added in terms of the API? New layout attributes? |
We already have a |
is this one still relevant or can we close it? thanks |
It is still relevant. |
Right now we can't use this function from Python because we only set
config
duringnewPlot
.The text was updated successfully, but these errors were encountered: