In [6]: opt.elemDict
Out[6]:
{0: (0.5, 0.5, 0.5),
1: (0.55, 0.55, 0.55),
7: (0, 0, 1),
8: (1, 0, 0),
9: (0.2, 0.8, 0.8),
15: (1, 0.5, 0),
16: (0.8, 0.8, 0),
17: (0, 0.8, 0),
35: (0.5, 0.3, 0.1)}
presumably, you set fluorine and sulfur by changing the values of 9 and 16.
-David
> On Feb 12, 2015, at 12:58 PM, Soren Wacker <[email protected]> wrote:
>
> but how?
> Soren
> ________________________________________
> From: Greg Landrum [[email protected]]
> Sent: Wednesday, February 11, 2015 10:27 PM
> To: Soren Wacker
> Cc: RDKit Discuss
> Subject: Re: [Rdkit-discuss] Chem.Draw darker colors
>
> My other answer about using the DrawingOptions object applies here too.
> Instead of setting elemDict to be a defaultDict, you would just change the
> colors for S and F to whatever you prefer.
>
> -greg
>
>
> On Thu, Feb 12, 2015 at 12:13 AM, Soren Wacker
> <[email protected]<mailto:[email protected]>> wrote:
>
> Hi,
>
> I printed some moecules with the Draw module of rdkit and generated some
> useful figures.
> I noticed that for some elements the contrast to white is very low.
> Therefore, I suggest to change the default colors to the darker versions.
>
> E.g. darkyellow instead of yellow for sulfur
> and darkcyan instead of cyan for fluorine
>
> kind regards
> Soren
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Rdkit-discuss mailing list
> [email protected]<mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Rdkit-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss