[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):