Hi,
I'm trying to use the scatter method, making use of the option to specify
the marker as a tuple. From the documentation, it would seem that specifying
marker=(0,3,0) should draw a circle. However, this is not the case. If you
consider the following code:
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as mpl
fig = mpl.figure()
ax = fig.add_subplot(111)
#ax.scatter([x],[y],c='red',marker=(0,3,0.))
ax.scatter([10.],[10.],c='red',marker=(3,3,0.))
ax.scatter([11.],[10.],c='red',marker=(6,3,0.))
ax.set_xlim(5.,15.)
fig.savefig('scatter.png')
The first ax.scatter causes an error, the second plots a triangle, and the
third a hexagon. However, the documentation states that (a) setting the
second element to '3' should plot a circle, and (b) the other arguments
should be ignored, so the first ax.scatter should not cause an error.
Is this a bug, or am I misunderstanding the documentation?
Thanks,
Thomas
···
--
View this message in context: http://www.nabble.com/possible-bug-with-scatter-tp24136534p24136534.html
Sent from the matplotlib - users mailing list archive at Nabble.com.