matplotlib.pyplot.subplots() 関数 は、Figure(matplotlib.figure.Figure クラスのインスタンス)と、Axes (matplotlib.axes.Axes クラスのインスタンス)、または Axes の配列を生成し、返り値として返します。 Figure はキャンバス、Axes はx軸、y軸 を持ち、その中にデータが ...
Axes.plot() はプロットした line2d のリストを返す。線が一本で中身だけ受け取りたいときは、変数にカンマ(,)をつければオーケー。 Axes.get_lines() で、Axes にそれまでにプロットされた line2d のリストが得られる。 見た目を一気に整えたい時にいいかも。
Try googling "AxesSubplot" which is the type you get back from a plt.gca() call. Try finding this class in the docs. Try searching for this class in the source code. Poor new users trying to figure ...
In #9324 I refactored the docstrings for legend.Legend.__init__, figure.Figure.legend and axes.Axes.legend. In particular, all three have the same kwargs because the ...