Looking at the matplotlib documentation, it seems the standard way to add an AxesSubplot to a Figure is to use Figure.add_subplo
matplotlib
AxesSubplot
Figure
Figure.add_subplo
For line plots, you can deal with the Line2D objects themselves:
Line2D
fig1 = pylab.figure() ax1 = fig1.add_subplot(111) lines = ax1.plot(scipy.randn(10)) fig2 = pylab.figure() ax2 = fig2.add_subplot(111) ax2.add_line(lines[0])