Given the code snippet below with clf() #1 uncommented works like one would expect - both plots are drawn. If #1 is commented out and #2 is uncommented, then the figure is cleared and neither plot is drawn. Is this the correct behavior? It seems like a bug to me.
M import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.axes_grid1 import AxesGrid f = plt.figure(1) plt.clf() #1 grid = AxesGrid(f, 111, (1,2)) #plt.clf() #2 grid[0].plot(np.arange(10)) grid[1].plot(np.arange(10)) plt.draw() ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel