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