Chris Barker schrieb:
Hi all,

I usually use MPL embedded in wx, so I haven't noticed these before but with the pylab window:

1) A couple icons seem to be missing. See screenshot enclosed.
I also discovered this behaviour. It seems to be a Windows only specific behaviour that only affects the bitmaps of the disabled (or grayed out) toolbar buttons. A solution I found is to use the png toolbar bitmaps instead of of the xpm ones. For this, replace in backend_wx.py, NavigationToolbar2Wx::_init_toolbar() 'home.xpm' by 'home.png', etc. In the same file, in _load_bitmap() replace wx.BITMAP_TYPE_XPM by wx.BITMAP_TYPE_PNG. This also gives a better visual impression since the png bitmaps have an alpha channel, see attached file. Furthermore, in my opinion, the floppy symbol is too small compared to the other icons. I also attached a magnified version.

Gregor

<<inline: toolbar2.png>>

<<inline: save.png>>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to