这是默认行为.您需要删除最后一个点.
n, bins, patches = ax.hist(x, n_bins, normed=1, histtype='step',
cumulative=True, label='Empirical')
patches[0].set_xy(patches[0].get_xy()[:-1])
Run Code Online (Sandbox Code Playgroud)
其余的都是一样的.
| 归档时间: |
|
| 查看次数: |
840 次 |
| 最近记录: |