From: Eugene A. S. <Cit...@in...> - 2003-12-26 09:45:14
|
Hi all! There are some bug's I've found in two days I got started with echotag. 1) I can't make 2 plots using WX-backend sequentially For example: ---CODE--- import matplotlib matplotlib.use('WX') from matplotlib.matlab import * plot([1,2,3,4]) show() plot([1,4,9,16]) show() --END CODE-- Well, everything is OK, while building 1st graph, but then an error occurs: --OUTPUT-- Traceback (most recent call last): File "plot.py", line 7, in ? plot([1,4,9,16]) File "/usr/lib/python2.2/site-packages/matplotlib/matlab.py", line 723, in plot draw_if_interactive() File "/usr/lib/python2.2/site-packages/matplotlib/backends/backend_wx.py", line 986, in draw_if_interactive current_fig = Gcf().get_current_figwin().figure AttributeError: 'Gcf' object has no attribute 'get_current_figwin' --END OUTPUT-- It was tested on Linux and Windows. Versions 0.40 and 0.32 When I'm using GTK everything is OK with both graphs, but using WX is critical :( 2) matplotlib-0.40: When I'm performing smth like: tl=get_xticklabels(...) for l in tl: print get_text(l) I'm wondering why tl is a correct list, but with empty text :( Version 0.32 is OK P.S. Sorry for my bad english -- Best regards Eugene A. Suchkov *************************** * ICQ:177787156 * * JID: cit...@ja... * *************************** |