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.
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