[885]: df[’A’].plot(ax=axes[0,0]); axes[0,0].set_title(’A’) Out[885]:
cbd0> In [886]: df[’B’].plot(ax=axes[0,1]); axes[0,1].set_title(’B’) Out[886]: 0 码力 |
281 页 |
1.45 MB
| 1 年前 3
, cbd0>], [, 334 Chapter 16. Plotting with matplotlib
0 码力 |
657 页 |
3.58 MB
| 1 年前 3
percall cumtime percall filename:lineno(function) 1 0.002 0.002 0.002 0.002 {_cython_magic_0aac91cbd155f6835aac54feefbd9e6a.apply_integrate_f} 3 0.000 0.000 0.000 0.000 frame.py:1757(__getitem__) 1
0 码力 |
1579 页 |
9.15 MB
| 1 年前 3
percall cumtime percall filename:lineno(function) 1 0.003 0.003 0.003 0.003 {_cython_magic_0aac91cbd155f6835aac54feefbd9e6a.apply_integrate_f} 3 0.000 0.000 0.000 0.000 frame.py:1757(__getitem__) 1
0 码力 |
1557 页 |
9.10 MB
| 1 年前 3
secondary_y keyword: In [115]: df.A.plot() Out[115]:
cbd0> In [116]: df.B.plot(secondary_y=True, style='g') Out[116]: 0 码力 |
1943 页 |
12.06 MB
| 1 年前 3
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Out[141]: cbd0> In [142]: plt.legend(loc='best') \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
0 码力 |
2833 页 |
9.65 MB
| 1 年前 3