columns=['A', 'B', 'C', 'D']) In [876]: df = df.cumsum() In [877]: plt.figure(); df.plot(); plt.legend(loc='best') Out[877]: <matplotlib.legend.
確定! 回上一頁