Re: [Matplotlib-users] circle collection get_facecolors in Basemap

2009-09-22 Thread Eric Firing
John [H2O] wrote: > Hello, > > I'm trying to plot text objects with the color used in m.scatter. My goal is > to individually label each scatter object. I've tried the following: > > circles=m.scatter(cx,cy,zsize,zlevel,cmap=cmap) > > and then: > CC = circles.get_facecolor() > i=0 > for x,y in m

Re: [Matplotlib-users] Circle Collection

2008-06-17 Thread sidimok
Thank you very much indeed guys, you made my day. =) -- View this message in context: http://www.nabble.com/Circle-Collection-tp17866685p17913009.html Sent from the matplotlib - users mailing list archive at Nabble.com. -

Re: [Matplotlib-users] Circle Collection

2008-06-17 Thread Michael Droettboom
My e-mail has been kind of sporadic this morning... but we seem to be in agreement. Just realised get_verts could actually be slightly better -- If we use Path.to_polygons() then any curves in the patch will get converted to line segments. Then even patches like Ellipse and Arc will work and

Re: [Matplotlib-users] Circle Collection

2008-06-17 Thread John Hunter
On Tue, Jun 17, 2008 at 7:34 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Now -- for the other developers on this list: We may want to add a > .get_verts() function back to patches that does exactly what I recommend > above. It won't behave identically to 0.91 since it will return a > tra

Re: [Matplotlib-users] Circle Collection

2008-06-17 Thread Michael Droettboom
You've hit one of the changed APIs in 0.98. You can see the list of changed APIs here: http://matplotlib.svn.sourceforge.net/viewvc/*checkout*/matplotlib/trunk/matplotlib/API_CHANGES Patches no longer store lists of vertices, they store Path objects + Affine transforms. So rather than "get_ve