-
Notifications
You must be signed in to change notification settings - Fork 26
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
Error when using with Plotly Subplots #21
Comments
Hey, thanks for the question! Could you provide a toy example in code of what you'd like to plot? I'll try to have a look over the weekend :) |
Sure, please find attached the test data. What I am looking for is a scatter plot faceted by the 'variable' column (so should be three plots), where the structures are revealed on hovering. I have included a code snippet below!
Thank you! |
Hey, sorry for the delay - I've updated the package and it should be able to handle data faceting now. Could you install the latest version with I haven't tested |
When trying to use molplotly to generate hover structures with a series of scatterplots generated using
make_subplots
(generated using different columns of a dataframe for the same RDKit molecule row),molplotly.add_molecules
returnsValueError: More than one plotly curve in figure - color_col and/or marker_col needs to be specified.
As these plots are generated using different columns, rather than faceting data in a single column based on values in another, there is no common color or marker column. Is there a way to generate molecular structures for these subplots?
The text was updated successfully, but these errors were encountered: