【发布时间】:2013-07-21 04:12:54
【问题描述】:
使用 Pandas 在 I-Python Notebook 中绘图,我有几个绘图,因为 Matplotlib 决定 Y 轴,所以设置它们的方式不同,我们需要使用相同的范围比较这些数据。 我已经尝试了几种变体:(我假设我需要将限制应用于每个情节..但由于我无法让一个工作......从 Matplotlib 文档看来我需要设置 ylim,但可以'不知道这样做的语法。
df2250.plot(); plt.ylim((100000,500000)) <<<< if I insert the ; I get int not callable and if I leave it out I get invalid syntax. anyhow, neither is right...
df2260.plot()
df5.plot()
【问题讨论】:
标签: matplotlib pandas ipython-notebook