开发者

Matplotlib point annotation, no scaling

开发者 https://www.devze.com 2023-01-17 23:34 出处:网络
I\'d like to annotate a plot in matplotlib with filled and non-filled dots. I can create a circle patch, but the circle scales with my axes which is not my desired effect.

I'd like to annotate a plot in matplotlib with filled and non-filled dots. I can create a circle patch, but the circle scales with my axes which is not my desired effect.

I can achieve this with

plt开发者_C百科.plot(x,y,'.',markersize=10)
plt.plot(x,y,'o',markersize=10)

but both markers are filled even if I set markerfacecolor=None.


From the sources it looks like you need to set markerfacecolor to 'none' and None.

Can you try this?

Ref : http://www.mathworks.com/help/techdoc/ref/errorbarseriesproperties.html

0

精彩评论

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