Hi Folks,

Does anyone know of an rdkit draw function to render a chemical on a
matplotlib axis in a box (x,y, width, height)? I'm interested in creating a
vector image (i.e. publication quality) that has multiple chemicals (shown
below). I created this raster image using matplotlib and  MolToImage with
imshow:-

[image: image]
<https://user-images.githubusercontent.com/10340891/93813456-24382100-fc21-11ea-82a9-fefd04c14078.png>

I have tried out the option of writing the mol to svg, reading the svg and
then rendering that using matplot but the result isn't ideal. Thanks in
advance.

Cheers,

Imran

--
Imran Shah
imran.a.s...@gmail.com
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to