-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Firing wrote:
> Dominik Szczerba wrote:
> OK I started hacking and added a color_cycle property to matplotlibrc.
> Would you be so kind to add this fix to the official version? Thanks!
> Dominik
> 
>> Your basic idea--that the colorcycle should be settable in 
>> rcParams--makes good sense, but the implementation needs some changes, 
>> maybe including a bit of redesign of the color cycle handling.  I will 
>> look into it.  A little discussion on the devel list may be required.  I 
>> think we will want to completely decouple lines.color from a new 
>> lines.colorcycle, but maybe there is some good reason, other than 
>> history, for why they are coupled.

Hi Eric,
That's great. I would be happy if a final conclusion from the devel list
could be forwarded here as well.
Thanks,
Dominik

> 
>> Eric
> 
> $ diff -w axes.py axes.py.org
> 135,137c135
> <     # DSZ take defaultColors from rcParams
> <     # defaultColors = ['b','g','r','c','m','y','k']
> <     defaultColors = rcParams['axes.color_cycle']
> ---
>>>>     defaultColors = ['b','g','r','c','m','y','k']
> 
> $ diff -w rcsetup.py rcsetup.py.org
> 442,443d441
> <     # DSZ add color_cycle property
> <     'axes.color_cycle' : [['b','g','r','c','m','y','k'],
> validate_stringlist],
> 
> 
> 
> Add to custom matplotlibrc as e.g.:
> 
> axes.color_cycle    : w, w, w, w, w, w, w
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Dominik Szczerba wrote:
>>>> I want to specify my own color cycle in matplotlibrc. I know I can do in
>>>> the actual script:
>>>>
>>>> matplotlib.axes.set_default_color_cycle(['w', 'w', 'w', 'w', 'w', 'w', 
>>>> 'w'])
>>>>
>>>> but it renders my scripts not portable (if somebody does not have black
>>>> bg in matplotlibrc as I do then he will not see the plot).
>>>>
>>>> (How) Can I specify my color cycle in matplotlibrc - or another portable
>>>> fashion? Or at least disable it so the lines.color is used for all colors?
>>>>
>>>> Dominik
> -
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 
>>
-
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAks7PloACgkQ/EBMh9bUuzLGNgCePjtqpURRGFo4Yn6XM3991irX
7XIAoNDfZqoUh56D1wpVmXsYaIbVBQSY
=bQ/o
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to