Re: [matplotlib-devel] examples/widgets/menu.py and mathtex

2009-07-21 Thread John Hunter
On Tue, Jul 21, 2009 at 10:37 AM, Michael Droettboom wrote: > It would be great to restore to_mask to mathtex as it can be useful for > GUI frameworks that require both an RGB and A buffer (rather than a > single RGBA buffer).  Its implementation should be pretty > straightforward, since you alread

Re: [matplotlib-devel] examples/widgets/menu.py and mathtex

2009-07-21 Thread Michael Droettboom
It would be great to restore to_mask to mathtex as it can be useful for GUI frameworks that require both an RGB and A buffer (rather than a single RGBA buffer). Its implementation should be pretty straightforward, since you already have image buffer output in mathtex. There may be a way to re-

[matplotlib-devel] examples/widgets/menu.py and mathtex

2009-07-21 Thread Freddie Witherden
Hi all, I was grepping the source code today for any remaining uses of matplotlib.mathtext in matplotlib and stumbled upon menu.py -- a menu demo/example. Although it does use/import mathtex it seems to only use it for rendering plain (non-math) text using the to_mask function. This is so