On Sun, Aug 28, 2011 at 11:44 AM, Benjamin Root <ben.r...@ou.edu> wrote:

>
>
> On Friday, August 26, 2011, Benjamin Root <ben.r...@ou.edu> wrote:
> > Just brain-storming here... What about two rcparams: cycle.color = true
> and cycle.style = false?
> >
> > This way, cycling for both colors and line styles could be turned on and
> off accordingly.  Then, a b&w mode could utilize this. as well as possibly
> substitute default values.
> >
> > Ben Root
>
> Taking it a step further, a cycle for markers would be nice, too.
>
> Ben Root
>

I went ahead and started up a branch to test this idea out.  I am not doing
a pull request on this yet because there are a lot of style issues (names of
rcParams and such), as well as the potential for easily producing lots of
redundant code if we expand this idea to other things like markers, fill
styles and such.

Here is the branch:

https://github.com/WeatherGod/matplotlib/tree/cycles

Let me know what you think!  This branch does give me enough control to
solve my immediate problem by setting the following rcParams:

# B&W mode
axes.color_cycle = 'k'
style.cycle = True

Cheers!
Ben Root
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to