Re: [Rdkit-discuss] Drawing mol to a coordinate box (x, y, width, height)?

2020-09-22 Thread David Cosgrove
Hi Imran, I don’t think that’s possible at the moment. In principle you could derive a class from the base MolDraw2D class and add the matplotlib drawing commands for drawing lines etc. It wouldn’t be a trivial piece of work, however. Regards, Dave On Tue, 22 Sep 2020 at 16:27, Imran Shah

[Rdkit-discuss] Drawing mol to a coordinate box (x, y, width, height)?

2020-09-22 Thread Imran Shah
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