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, Dave
On Thu, 9 Apr 2020 at 06:00, Greg Landrum <greg.land...@gmail.com> wrote: > 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 <gustavo.sea...@gmail.com> > wrote: > >> [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 in place of the >> \n or \r symbols... (see picture) >> >> Are there any ideas? >> Thanks, >> -- >> Gustavo Seabra. >> _______________________________________________ >> Rdkit-discuss mailing list >> Rdkit-discuss@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss >> > _______________________________________________ > Rdkit-discuss mailing list > Rdkit-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rdkit-discuss > -- David Cosgrove Freelance computational chemistry and chemoinformatics developer http://cozchemix.co.uk
_______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss