Axes.plot() はプロットした line2d のリストを返す。線が一本で中身だけ受け取りたいときは、変数にカンマ(,)をつければオーケー。 Axes.get_lines() で、Axes にそれまでにプロットされた line2d のリストが得られる。 見た目を一気に整えたい時にいいかも。
We had a quick introduction to plotting with matplotlib in previous lessons. This lesson covers plotting with Python and matplotlib using a more structured approach. In this section, we'll look into ...