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

Check plotly chart exists before attempting to update it #442

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

OliverWingY
Copy link

@OliverWingY OliverWingY commented Sep 17, 2024

Fix for issue #428, by checking the div containing the plot exists before doing any callbacks we can avoid exceptions where the plot is de rendered before the callback has executes

@sean-mcl
Copy link
Collaborator

Would it be fine for you, when I integrate your changes into my branch?

@OliverWingY
Copy link
Author

yes

@OliverWingY
Copy link
Author

Actually @sean-mcl, it would be really helpful if you could publish a pre-release version with this fix soon. Thanks!

@sean-mcl sean-mcl merged commit 4091da4 into LayTec-AG:main Sep 17, 2024
@sean-mcl
Copy link
Collaborator

Actually @sean-mcl, it would be really helpful if you could publish a pre-release version with this fix soon. Thanks!

To be honest, I‘m not sure about the impact of the added line, when the div does not exist yet. Currently its not added to the callbacks.

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

Successfully merging this pull request may close these issues.

3 participants