标签:inf step png col ace .sh pac import show
import matplotlib.pyplot as plt import numpy as np x = np.linspace(1, 10, 10) y = np.sin(x) plt.step(x, y, color="#8dd3c7", where="pre", lw=2) plt.xlim(0, 11) plt.xticks(np.arange(1, 11, 1)) plt.ylim(-1.2, 1.2) plt.show()
标签:inf step png col ace .sh pac import show
原文地址:https://www.cnblogs.com/czz0508/p/10458718.html