add_yaxis compatibility with recent matplotlib

Sept. 9, 2011
5:23 p.m.
In scikits/timeseries/lib/plotlib.py , around line 1185 ( http://projects.scipy.org/scikits/browser/trunk/timeseries/scikits/timeserie...), the framework relies on "private" members of the matplotlib Axis / Figure objects (e.g _rows, _cols, _num). These apparently no longer exist and in any case we're better off using a public method specifically designed for accessing these values, namely the get_geometry function. So the change to the line seems to fix the issue for me: . . fsp_alt_args = fsp.get_geometry() . . This might break backward compatibility so perhaps in a nested try catch could be achieved backward compliance.. Hope this makes sense, Adam
4933
Age (days ago)
4933
Last active (days ago)
0 comments
1 participants
participants (1)
-
Adam Ever-Hadani