Hey Ryan,

thanks for your answer.
Ashamed I have to realize that the example works for me as well.

When I tried it the first time, I had no pc featuring both internet and a
matplotlib installation, so I had to copy everything manually.
It seems I skipped a line or whatever.

In the gallery, I can't find a multicolored line.
Thanks again, greetings
Martin

On Sun, Mar 21, 2010 at 5:59 PM, Ryan May <rma...@gmail.com> wrote:

> 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&#174; 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

Reply via email to