Re: [Rdkit-discuss] Multiline legend in MolsToGridImage

2020-04-09 Thread David Cosgrove
Hi Gustavo, If you do create the issue, could you also add that the legend should scale the font sensibly and also annex its own part of the drawing area. At the moment it just goes at the bottom and the molecule may obscure it. It would make sense if these were all done at the same time. Cheers,

Re: [Rdkit-discuss] Multiline legend in MolsToGridImage

2020-04-08 Thread Greg Landrum
Hi Gustavo, I don't believe that this is currently possible. I'm pretty sure we would need to add explicit code to handle this case. This would be a good thing to create a github issue for, if you're interested. -greg On Wed, Apr 8, 2020 at 10:35 PM Gustavo Seabra wrote: > [image: Screenshot

[Rdkit-discuss] Multiline legend in MolsToGridImage

2020-04-08 Thread Gustavo Seabra
[image: Screenshot from 2020-04-08 16-28-37.png] Hi, Does anyone know how to write multiline legends when using MolsToGridImage? I've been trying the code [here]( https://sourceforge.net/p/rdkit/mailman/message/35561198/), but nothing there seems to work for me, as I only get a blank rectangle

Re: [Rdkit-discuss] multiline legend in MolsToGridImage

2016-12-20 Thread Pavel Polishchuk
Thank you, that helped! I noticed that I need to substantially increase the height of the image to make the second line visible. If I'll want to draw more lined I should increase the height further. Pavel. On 12/20/2016 03:14 PM, Peter Gedeck wrote: Hello, I thought we had removed all of