Skip to content
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

Editing titles within the plot doesn't call onUpdate #1180

Open
alexmojaki opened this issue Sep 29, 2023 · 1 comment
Open

Editing titles within the plot doesn't call onUpdate #1180

alexmojaki opened this issue Sep 29, 2023 · 1 comment

Comments

@alexmojaki
Copy link

The plot/axis titles can be conveniently edited 'inline', i.e. in the same place that they're displayed, but this doesn't trigger the PlotlyEditor.onUpdate callback. On the other hand, they sync nicely with the editors in the controls sidebar under Style > General/Axes, and making the edits there does correctly call onUpdate.

For my application this makes the inline editing effectively broken, as the changes won't be saved. Is there a way to disable it so that users don't get confused?

Overall though this is a great project that'll be very valuable to us, so thank you!

@dmt0
Copy link
Contributor

dmt0 commented Sep 29, 2023

Hi @alexmojaki, IIRC those trigger onRelayout event and you can handle them there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants