【发布时间】:2015-09-19 23:42:08
【问题描述】:
我知道可以在 plt.plot 中设置破折号长度和间隙大小,但有没有办法在 plt.hist 中设置?这是我的命令的样子:
plt.hist(x, bins=5, range=(7.,11.), facecolor='None', linestyle='dashed', linewidth=2, normed=1)
【问题讨论】:
-
线型的设置已经统一在master上。
标签: python matplotlib plot histogram linestyle