When using the "new" drawing code according to


I also want to be able to control the size of the molecule (not image) so if 
for example I have to depict multiple molecules smaller ones are not drawn in 
an oversized fashion. Therefore I would want to control the font size and bond 
length, somewhat similar to shown here:


Also this would be for a web service hence drawer.GetDrawingText() is for sure 
preferred vs Draw.MolToFile and then reading in the temp file again.

I did find this sample showing this:


But it's in c++ and not python and not very understandable. So how can this be 
done in Python? Is there a convenience function i haven't found yet?

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