如果您已经存储了Axes对象,则可以通过lines成员引用每条线: ax = fig.add_subplot(111) ax.plot(line one) ax.plot(line two) # plot ax.lines.pop(0) # removes the first line # plot again