We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
该指南简略记录各种常用的绘图技巧,用于填补matplotlib文章的不足
设置坐标轴范围
plt.xlim((left, right))
取消坐标轴和线(ticks & spines)
Axes.set_axis_off
替换刻度
cmap = plt.cm.winter # s为步长,每一步一种颜色 for i in range(0,n,s): ax.plot(x, y, z, color=cmap(i/n), alpha=0.4)