Hi Gianmarco,

the setting that you need to adjust is

annotationFontScale
<https://www.rdkit.org/docs/cppapi/structRDKit_1_1MolDrawOptions.html#a6cf64fa7c9f2c08870914430f6a46282>

e.g.
IPythonConsole.drawOptions.annotationFontScale = 0.7

The default scale is 0.5.

Cheers,
p.


On Mon, Mar 28, 2022 at 2:31 PM Gianmarco Ghiandoni <ghiandon...@gmail.com>
wrote:

> Hi all,
>
> I am using RDKit to set calculated values to atoms as shown below and I
> would like to know whether it is possible or not to change the font size to
> make it slightly bigger.
>
> # For each atom, set the property "atomNote" to a index+1 of the atom    
> atom.SetProp("atomNote", str(atom.GetIdx()+1))
>
>
> Thanks,
>
> Giammy
>
> --
> *Gianmarco*
> _______________________________________________
> 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

Reply via email to