On Wed, Feb 29, 2012 at 1:46 PM, Benjamin Root <ben.r...@ou.edu> wrote: > > > On Wed, Feb 29, 2012 at 7:32 AM, <josef.p...@gmail.com> wrote: >> >> Sorry for reporting this here, it's the only way for matplotlib I'm >> signed up for. >> >> I'm testing scikits statsmodels on Python 3.2 >> >> plt.close(fig) in the graphics tests raises an error, python 3.2, >> matplotlib 1.2.x from Gohlke for Win 64, nose 1.0.0 >> >> File >> "C:\Programs\Python32\lib\site-packages\matplotlib\_pylab_helpers.py", >> line 75, in destroy_fig >> for manager in Gcf.figs.values(): >> RuntimeError: dictionary changed size during iteration >> >> https://github.com/statsmodels/statsmodels/issues/152 >> >> https://github.com/statsmodels/statsmodels/blob/master/scikits/statsmodels/graphics/tests/test_boxplots.py#L15 >> >> replacing plt.close(fig) with plt.close('all') removes the test errors >> in python 3.2 >> >> Since I'm not familiar with the matplotlib details, I don't know what >> this means. >> >> Josef >> > > Could you double-check exactly which version you have? In the master > branch, we made a change on Nov 14th to not delete dictionary items while > iterating. I suspect Gohlke's build was from before then.
I'm not able to tell the exact version >>> import matplotlib >>> matplotlib.__version__ '1.2.x' but the creation date of the files that have been installed in site-packages is Wednesday, November 09, 2011, 5:09:50 AM so before Nov 14th I'm not able to build matplotlib myself. Thanks, Josef > > Ben Root > ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users