Hi,

I apologize if this isn't the right forum for this email; I'm not  
actually a matplotlib developer.

I was trying to use custom icons for the mpl Wx backend, but the  
version of mpl I was using had a _load_bitmap method that only read  
xpm bitmaps. This requirement is enforced by the wx.BITMAP_TYPE_XPM  
flag on:

line 1398 of backend_wx.py in trunk
line 1458 of backend_wx.py in v0_91_maint

The default flag wx.BITMAP_TYPE_ANY allows wx to autodetect the  
format. Deleting the wx. BITMAP_TYPE_XPM argument allows me to change  
to toolbar icons to png files. I noticed that the trunk and  
v0_91_maint versions of mpl have a _load_pngicon method to load png  
icons. This additional method seems unnecessary (or am I missing  
something) if the offending argument is deleted.

One final note: I made some new icons for the toolbars of the plot  
windows. I'm not sure if many people would be interested in them since  
I've made them following a OS X aesthetic (also, I replaced the home  
icon with a reload icon because that made more sense to me). In any  
case, I'd like to make these available as an alternative, but I'm not  
sure where to post them.

Thanks in advance for reading my ramblings.

-Tony

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to