On Sun, Mar 21, 2010 at 6:17 AM, Martin Bothe <martin.bo...@googlemail.com> wrote: > Hello matplotlib-community, > > I'm using matplotlib since a while, but have never had a real reason to > write to the mailing-list yet. > Furthermore I know, that the Cookbook at scipy.org is more or less outdated > > Anyway, I tried the multicolored Line example at > http://www.scipy.org/Cookbook/Matplotlib/MulticoloredLine (at the bottom) > and found that I get an AssertionError, without further description or > exeption string. > The line producing the error is this one: > > 10. LC = LineCollection(segments, colors = colors) > > > > How to get rid of this problem? > Is there an alternative way?
Can you copy and paste the actual error message and traceback? I run the script here on SVN trunk and it works fine. If you're looking for an update "cookbook", you can always look at the gallery: http://matplotlib.sourceforge.net/gallery.html Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users