When I do this:

image = Draw.MolToImage(mol, size=(200, 200))

I'm getting image with compound taking most of available canvas space. But
this:

image = Draw.MolToImage(mol, size=(500, 500))

gives me an image with the compound of exact same size - it's just the
canvas which is bigger. I guess this is because molfile already contains
fixed 2D coordinates. Is there any possibility to regenerate it taking into
account current image size?

Regards,

Michał Nowotka
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to