[Matplotlib-users] circle collection get_facecolors in Basemap

2009-09-22 Thread John [H2O]
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 map(cx,cy): ax.text(x,y,'some

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 map(cx,cy):

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

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. -

[Matplotlib-users] Circle Collection

2008-06-16 Thread sidimok
Hi everyone, The code below was working for me as a charm, but since the new matlplotlib flavor 0.98, I'm getting this error message: AttributeError: 'CirclePolygon' object has no attribute 'get_verts' Any idea? - - - - - - - - - - - - - - - - - - - import matplotlib from