This is tricky in Matplotlib... you have to use a string "None" instead of the value None, then you can just do:plt.plot(x,y2, 'o', ms=14, markerfacecolor="None", markeredgecolor='red', markeredgewidth=5) 这篇关于使用透明标记但不透明的边缘进行绘图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 09-02 08:18