Hi,
question one : After the previous questions, I can highlight the
two-dimensional molecules into the following picture 1(rdkit version must be
2021.09.2). Now I want to change the atoms into the corresponding color, such
as Figure 2, but I find that this thing seems to be only available on
Hi,
After the previous questions, I can highlight the two-dimensional molecules
into the following picture 1(rdkit version must be 2021.09.2). Now I want to
change the atoms into the corresponding color, such as Figure 2, but I find
that this thing seems to be only available on 2021.09 2,
Dear Hao,
I don't think that's possible through the current rdMolDraw2D API.
However, you may obtain that effect fiddling a bit with the SVG XML text:
import re
import xml.etree.ElementTree as ET
from rdkit import Chem
from rdkit.Chem.Draw import rdMolDraw2D
from IPython.display import SVG
mol
Hi,
I would like to ask if I can show molecules like 1 in the figure below in
addition to the conventional highlighting method like figure 2 when using rdkit
to draw molecules?
Thanks
Kind regards,
Hao Wang
figure 1
4 matches
Mail list logo