3

Example command:

prop = matplotlib.pyplot.scatter(x,y,s=s,c=c)

dir(prop) shows set_edgecolor, set_edgecolors, set_linestyle, set_linestyles - why so many variations on the same thing?

Also, how do I remove the edgecolors? Setting values to None does nothing. And how do I change the marker size after the plotting? There does not appear to be a markersize attribute that I can access...

Edit

If the symbols are generated through plyplot.plot, there is a markersize attribute to change it seems. But with pyplot.scatter, not present.

2
  • 1
    FYI: A lot of the differences between plot and scatter have been fixed in the most recent version of matplotlib. To remove the edge colors, set them to the string 'none'. In general in matplotlib, None means "use the default setting", whereas 'none' means "no color". Commented Oct 15, 2011 at 22:30
  • Wow. The difference between None and 'none' is quite relevant! Thanks -- if you could put it as the answer I can mark it as solved... Commented Oct 16, 2011 at 5:20

1 Answer 1

3

It'd give using 'none' a go to see if that solves your issue with edgecolor. That typically sets attributes to no color.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.