Skip to content

Hide hydrogens when using interactive_plot to render 2D image of molecules #7

@shkao

Description

@shkao

Hi mcsorkun,

Thanks a lot for the great tool.
Just wondering, what would be the best way to hide all the hydrogens when using the interactive_plot?
I tried to preprocess the smiles by rdkit.Chem.rdmolops.RemoveHs, but in the bokeh HTML the 2D images rendered by interactive_plot are still with hydrogens, for example:
image

Would be great to have an option in interactive_plot to do this.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions