Re: [Rdkit-discuss] Drawing options for the new drawing code to change background color

2017-09-23 Thread Greg Landrum
Hi Michal, This is now one of the draw options; In [3]: d2d = rdMolDraw2D.MolDraw2DSVG(300,300) In [4]: opts = d2d.drawOptions() In [6]: opts.setBackgroundColour((1,1,0)) You can set the default highlightColour the same way. There's not currently a "make it transparent" option, but that

Re: [Rdkit-discuss] Drawing options for the new drawing code to change background color

2017-09-23 Thread Greg Landrum
As I was composing this email there was a voice in the back of my head saying "you can do that already...", but when I looked through the code for "transparent" I didn't find anything, so I figured it was something on a branch that just needed to be merged. 10 seconds after hitting "Send"