On 2/13/2020 3:56 AM, David Cosgrove wrote:
Hi Thomas,
I've never used the RDKit cartridge, so have not come across mol_to_svg()
before. In the more general case, you can change the bond line width with
something like:
drawer = rdMolDraw2D.MolDraw2DSVG(200, 200)
drawer.drawOptions().bondLineWidth = 10
It may be that you don't have this level of control in the cartridge in
which case I have no workaround in the short term.
SVG is text (XML), you can post-process it with re.sub(). I change label
fonts that way, I expect bond lines are doable too.
Dima
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss