On Fri, Jun 5, 2009 at 11:39 PM, Tony S Yu<ton...@mit.edu> wrote: > Are there guidelines for what makes a good example to be included with the > matplotlib examples? > > I have a matplotlib snippet I'd like to post somewhere, but I'm not sure > where to put it. I doubt it'd be useful enough to be included with the > packaged examples. I was thinking about putting it in the matplotlib > examples in the Scipy cookbook, but I wasn't sure how active the site is. > > In any case, the code I'd like to post changes the color cycle to use > successive colors from a colormap. I find this really useful for plotting > curves that evolve in time on the same plot. I've attached an image > illustrating this idea. The code is pretty simple and is also attached.
I'm happy to post this example in the examples dir, where it will automatically get picked up in the website gallery and examples dir. The scipy cookbook is fine too, but I would prefer that a little mini tutorial be written in rest explaining the example and we can start a cookbook in the mpl docs. If you would like to go this route, we can add a section to the users guide for "explained examples", aka a cookbook. I am curious though why you prefer to alter the default color cycle rather than just passing the color in to the plot command -- it seems more explicit to pass the color in directly rather than rely on the default cycle. JDH ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users