[Rdkit-discuss] rdMolDraw2D drawing code
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Dimitri M. <dm...@bm...> - 2016-09-02 20:08:01
|
Hi all, I finally got a round tuit for playing with the drawing code and I like it -- great job, thank you Greg and Dave and everyone who contributed. One question though: is it possible to add padding around atom labels? Or use some other trick to make the attached look less crowded? (Yes, I do want all Hs and all atom labels with numbers.) The best I can come up with is reduce the font size a little, that works fine. I think it'd be nice if the fine manual for MolDraw2D said what the units used by FontSize()/SetFontSize() are. So, any better ideas than just slightly smaller labels? TIA -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu |