目次 目次 とりあえず消す方法 線 塗りつぶし しっかり管理する方法 線 塗りつぶし とりあえず消す方法 線 2本の線を書く。 In [1]: plt.plot([1,2,3]) Out[1]: [<matplotlib.lines.Line2D at 0x6fffdde8a50>] In [2]: plt.plot([2,4,6]) Out[2]: [<matplotlib.lines.Line2D at 0x6fffd705790>] current axesの線の確認はplt.gca().linesというコマンドでできる。 In [5]: plt.gca().lines Out[5]: [<matplotlib.lines.Line2D at 0x6fffdde8a50>, <matplotlib.lines.Line2D at 0x6fffd705790>] 2本の線があるのが確認