Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> Maybe, but I am not sure it is so simple as that. At the Eric> very least, it illustrates the fact that all the possible Eric> combinations of rgb with separate alpha, rgba, faces, edges Eric> etc. is confusing, and tha

Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread Eric Firing
John Hunter wrote: >> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: > > Eric> Try scatter(x, y, alpha=0) > > Hmm, this surprises me -- the edgecolor should respect alpha too, no? > I'm inclined to consider this a bug -- agree? Maybe, but I am not sure it is so simple as that. At the

Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread Eric Firing
John Hunter wrote: >> "John" == John Hunter <[EMAIL PROTECTED]> writes: > > John> The problem with alpha solution is it won't work in > John> postscript. > > Oh, I see we've already handled this; the > backend_bases.Renderer.draw_poly_collection catches alpha=0. and sets > rgbFace t

Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread John Hunter
> "John" == John Hunter <[EMAIL PROTECTED]> writes: John> The problem with alpha solution is it won't work in John> postscript. Oh, I see we've already handled this; the backend_bases.Renderer.draw_poly_collection catches alpha=0. and sets rgbFace to None in this case, so the posted

Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread John Hunter
> "Eric" == Eric Firing <[EMAIL PROTECTED]> writes: Eric> Try scatter(x, y, alpha=0) Hmm, this surprises me -- the edgecolor should respect alpha too, no? I'm inclined to consider this a bug -- agree? The following should work in any backend that supports alpha scatter(rand(100), rand

Re: [Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread Eric Firing
Try scatter(x, y, alpha=0) This works for me with GTKAgg and svn, and I expect it will work with 87.7 also. There was some discussion about how to support something like "c=None", but I don't recall the outcome, and I don't know whether scatter is now an anomaly--but I don't think so. I thin

[Matplotlib-users] Open symbols in scatter plot

2007-01-04 Thread Yannick Copin
Hi, I'd like to plot 'open symbols' (i.e. not color filled) w/ scatter. Unfortunately, scatter doesn't support None color: scatter(randn(5),randn(5), s=(50,), c=None, edgecolor='r') or scatter(randn(5),randn(5), s=(50,), facecolor=None, edgecolor='r') fail w/ ValueError: to_rgb: Invalid rgb