set_colors() not working for line collection [solved]

The problem was with the line:

lines.set_array(L_range)

If I just delete it everything goes well. I was following along from the
line_collection2.py included in the examples.

Thanks for your help!

Zoho

···

On Fri, 02 May 2008 10:21:50 -0300, Zoho Vignochi wrote:

On Fri, 2008-05-02 at 08:33 -0400, Michael Droettboom wrote:

I converted your example to a standalone one (attached), and it does
work for me. It's hard to say what may be going wrong for you without
knowing what a_steady and L_range are and what the limits of the axes
are getting set to etc. Can you provide a fully self-contained script
that exhibits this behavior? Also, what version of matplotlib and
platform are you using?

Cheers,
Mike

Hello:

I am running Debian sid on Powerpc and I have the Debian sid
python-matplotlib version 0.91.2-2. Your stand alone script also works
for me. Strange.

I have included the script I am using set to plot 5 lines. The script is
designed to solve the Daisyworld model proposed by James Lovelock in the
early 80's. Thank you for your help!

Zoho