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 text', color=CC[i]) But if fails because: m.scatter returns: <matplotlib.collections.CircleCollection object at 0x127898d0> Rather than a list of objects??? Or something. The point is, I would expect 'circles' above to have len==cx, but it does not. What am I doing wrong? -- View this message in context: http://www.nabble.com/circle-collection-get_facecolors-in-Basemap-tp25530811p25530811.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users