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

Plotting in a running Dash app #15

Closed
ArnaudGaudry opened this issue Apr 5, 2022 · 2 comments
Closed

Plotting in a running Dash app #15

ArnaudGaudry opened this issue Apr 5, 2022 · 2 comments

Comments

@ArnaudGaudry
Copy link

Hi!
I have a small dash app that I use to explore the molecules present in different samples. It is possible to select the samples of interest and then display a plotly scatter plot generated using the structures. I tried to add the molplotly layer on the scatter plot but no molecules are displayed. Any experience on that?
Thanks!

@wjm41
Copy link
Owner

wjm41 commented Apr 5, 2022

Hi @ArnaudGaudry! Could you give some details/example code on the issue? If my understanding is correct, the scatterplot is created within another Dash app? If so then perhaps you could copy/paste the display_hover function from the molplotly source code into your dash app for a custom display of the molecule images on mouseover.

@ArnaudGaudry
Copy link
Author

Thanks for the prompt answer @wjm41 ! I could adapt the display_over function in new callback and it now works like a charm!

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