2017-05-30 100 views

回答

0

可以使用spines属性的轴:

f, ax = plt.subplots(1) 

for side in ax.spines.keys(): # 'top', 'bottom', 'left', 'right' 
    ax.spines[side].set_linewidth(5) 

plt.plot(numpy.arange(10)) 
plt.show() 
相关问题