From: John H. <jdh...@ac...> - 2005-06-08 15:16:53
|
>>>>> "andrea" == andrea gavana <and...@ti...> writes: andrea> Hello John & NG, I have just downloaded matplotlib 0.81, andrea> and I am having some problems with the ToolBar. The "Back" andrea> and "Forward" icons in the ToolBar2 are not shown. The andrea> buttons are completely grey and they seem inactive. Is andrea> this the expected behavior? I think it is not. However, andrea> my configuration is: andrea> - Windows XP - wxPython 2.6.1.0 - MatPlotLib 0.81 - WXAgg andrea> backend - ToolBar2 This is a feature and a bug. The feature part is that Werner Bruhin added a patch to "gray out" the forward and back buttons when clicking them produces no effect. Eg, if there is no back (your first view of the figure) the button should be grayed out. If you navigate somewhere, the button will be enabled. The bug is that on win32 with wxpython 2.6.1 instead of presenting a grayed out version of the button the button is a solid gray rectangle, and it is visually very disturbing to see it toggle between an arrow and a gray rectangle. On linux with wx 2.5.3, the arrow button still looks like an arrow, but is gray to indicate "not enabled" Does this feature work properly for anyone on windows? Other WX/Windows users, please send me your wxpython version numbers and let me know if this is working for you so we can file a bug report to the wx list. You can get your wxpython version by running your script with > python myscript.py -dWXAgg --verbose-helpful Thanks! JDH |