wjm41 / molplotly

add-on to plotly which show molecule images on mouseover!
Apache License 2.0
242 stars 25 forks source link

Rokas slider #1

Closed RokasEl closed 2 years ago

RokasEl commented 2 years ago

Implemented support for specifying multiple smiles in the smiles_col argument for molplotly.add_molecules:

Also changed the ports in the example.ipynb to start from 8700 and go up. On my system 8000 and 8001 were reserverd already.

wjm41 commented 2 years ago

Maybe use a drop-down menu instead? That way you can choose multiple options at once and it should be possible to show multiple images in the same hoverbox (though it might not be a good idea :P)

See here, should be a small change to your addition https://dash.plotly.com/dash-core-components/dropdown