Re: [matplotlib-devel] please add this example: legend translucent

2009-07-21 Thread Sandro Tosi
On Tue, Jul 21, 2009 at 19:32, Ryan May wrote: > On Tue, Jul 21, 2009 at 11:05 AM, Sandro Tosi wrote: >> >> Hi all, >> I really liked the snipped John wrote in a mail some time ago, so I >> mock up a very simple example to set the alpha on a legend. >> >> It seems interesting to have such an examp

Re: [matplotlib-devel] please add this example: legend translucent

2009-07-21 Thread Ryan May
On Tue, Jul 21, 2009 at 11:05 AM, Sandro Tosi wrote: > Hi all, > I really liked the snipped John wrote in a mail some time ago, so I > mock up a very simple example to set the alpha on a legend. > > It seems interesting to have such an example, also in the gallery. > > Since I don't have much tim

[matplotlib-devel] please add this example: legend translucent

2009-07-21 Thread Sandro Tosi
Hi all, I really liked the snipped John wrote in a mail some time ago, so I mock up a very simple example to set the alpha on a legend. It seems interesting to have such an example, also in the gallery. Since I don't have much time to dive into the sphinx example generation and so, I just hand yo

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