I'm trying to draw a scatter plot where each point is a different colour and
is only a single pixel. Unfortunately at the minute, while I can change the
colour and size, I haven't been able to remove the edges of the markers and
my single pixel becomes the colour of the edge. I've attached some sample
code below. Can anyway see what I've done wrong? It currently just gives
back an error.
And a related question. Is using scatter the best way to draw a plot of
single pixels? Or would it be more efficient to use one of the more
primitive classes to do this?
fig = plt.figure()
ax = fig.add_subplot(111)
c=[0.4, 0.2, 0.3, 0.5]
ax.scatter(x,y, s=s, c=c, **prop)
View this message in context: http://www.nabble.com/Changing-edge-colour-of-scatterplot-tp25530171p25530171.html
Sent from the matplotlib - users mailing list archive at Nabble.com.