Hello RDKitters,

I'm happy to advertise the improved molecular depiction which has just been
pulled back in the main RDKit repository.
I want to thank Paul Emsley for the preliminary work during the hackathon
at the RDKit UGM, and Greg who helped me finalizing the changes, especially
for other canvas than Cairo, and testing the code.

What's new:
 - transparency: by default the molecules will be depicted on a white
background; for transparent background use this code:
   >>> from rdkit.Chem import Draw
   >>> o = Draw.DrawingOptions()
   >>> o.bgColor=None
   >>> Draw.MolToImage(m,size=(600,600),options=o)
 - improved depiction: the labels are better positioned (for instance NH3,
the bond will point to the N and not to the middle of the label anymore),
and the bonds are also better drawn.

Some work still has to be done especially for the matplotlib canvas.

Cheers,

Grégori
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to