Re: [matplotlib-devel] Help with scatter

2008-11-11 Thread Ryan May
Eric Firing wrote: > Ryan, > > I hope you don't mind--I took care of the "FIXME" that I had put in, and > committed the whole thing. Your test passes, and the backend_driver.py > seems happy, so it should be OK. You have stolen my glory! :) Actually, I was thinking at this point it was more you

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Eric Firing
Ryan May wrote: > On Mon, Nov 10, 2008 at 5:54 PM, Eric Firing <[EMAIL PROTECTED] > > wrote: > > Ryan May wrote: > > Ok, here's a patch that fixes the problem for me, as well as a test > script that tests a bunch of the color options along with havin

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
On Mon, Nov 10, 2008 at 5:54 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Ryan May wrote: > >> Ok, here's a patch that fixes the problem for me, as well as a test >> script that tests a bunch of the color options along with having more, >> the same, and less than the number of points passed in. >>

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Eric Firing
Ryan May wrote: Ryan May wrote: Well, I can get the last one to work with SVN HEAD. The others don't work for me either, though I agree they probably should. It looks like any 1D sequence will trigger colormapping instead of strings being mapped to rgba arrays. I'll keep digging to see what c

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
Ryan May wrote: > Well, I can get the last one to work with SVN HEAD. The others don't > work for me either, though I agree they probably should. > > It looks like any 1D sequence will trigger colormapping instead of > strings being mapped to rgba arrays. I'll keep digging to see what > changed.

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
Ryan May wrote: > Well, I can get the last one to work with SVN HEAD. The others don't > work for me either, though I agree they probably should. > > It looks like any 1D sequence will trigger colormapping instead of > strings being mapped to rgba arrays. I'll keep digging to see what > changed.

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
Andrew Stock wrote: > My interpretation of this is that either of the three values attempted > in the code example should work. However, all of these fail. > > from pylab import * > > x = [1,2,3] > y = [2,4,6] > c = ['#ff', '#00ff00', '#ff'] > c = ['b','r', 'g'] > c = [(1,0,0), (0,1,0), (

Re: [matplotlib-devel] Help with scatter

2008-11-10 Thread Ryan May
Andrew Stock wrote: > My interpretation of this is that either of the three values attempted > in the code example should work. However, all of these fail. > > from pylab import * > > x = [1,2,3] > y = [2,4,6] > c = ['#ff', '#00ff00', '#ff'] > c = ['b','r', 'g'] > c = [(1,0,0), (0,1,0), (

[matplotlib-devel] Help with scatter

2008-11-10 Thread Andrew Stock
Hi, I'm trying to specify the colours for markers in a call to scatter. I've read this information in the documentation: c: a color. c can be a single color format string, or a sequence of color specifications of length N, or a sequence of N numbers to be mapped to colors using the cmap and n