Hi all,

I'm not sure if this topic has come up before, but SVG rendering in Jupyter
notebooks seems to make small molecules like methanol and water completely
invisible.  The same molecules render successfully for me using non-SVG

Can others reproduce this behavior?  Are there any easy-ish fixes for this?


*# import rdkit components*
*from rdkit import Chem*
*from rdkit.Chem import Draw*
*from rdkit.Chem.Draw import IPythonConsole*

*# two very small molecules*
*methanol = Chem.MolFromSmiles('CO')*
*water = Chem.MolFromSmiles('O')*

*# SVG rendering seems to make small molecules like water and methanol
completely invisible*
*Draw.MolsToGridImage([water, methanol])*

*# With SVG off the molecules are visible*
*Draw.MolsToGridImage([water, methanol])*
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
Rdkit-discuss mailing list

Reply via email to