-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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
$ 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkszMqcACgkQ/EBMh9bUuzJIigCgryC7tOPPkWkjjE/6/OTvLiiH OUMAoIsGCWSAC6AO3F12Rv5yQN6tMQkL =Ch5N -----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