开发者

How to customize marker/symbol properties in matplotlib?

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 plo开发者_开发问答tting? 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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜