Re: [Matplotlib-users] background color of text plots as foreground

2015-07-09 Thread Mark Bakker
Fails on MacOSX backend. Just tried it, and it works fine with the QT backend. So I guess a MacOSX bug... Thanks for your help, Mark On Thu, Jul 9, 2015 at 6:18 PM, Sterling Smith wrote: > Works for me with TkAgg backend on 1.4.3. > > -Sterling > > On Jul 9, 2015, at 3:52AM, Mark Bakker wro

Re: [Matplotlib-users] background color of text plots as foreground

2015-07-09 Thread Sterling Smith
Works for me with TkAgg backend on 1.4.3. -Sterling On Jul 9, 2015, at 3:52AM, Mark Bakker wrote: > Hello list, > > I am trying to set the backgroundcolor of a textbox: > > from pylab import * > plot([1, 2, 3]) > text(1, 2, 'Hello', backgroundcolor = 'red') > > This plots a nice red box but

Re: [Matplotlib-users] background color of text plots as foreground

2015-07-09 Thread Benjamin Root
Which backend are you using? It works fine for me with a recent-ish master using Qt4Agg backend. Ben Root On Thu, Jul 9, 2015 at 6:52 AM, Mark Bakker wrote: > Hello list, > > I am trying to set the backgroundcolor of a textbox: > > from pylab import * > plot([1, 2, 3]) > text(1, 2, 'Hello', bac

[Matplotlib-users] background color of text plots as foreground

2015-07-09 Thread Mark Bakker
Hello list, I am trying to set the backgroundcolor of a textbox: from pylab import * plot([1, 2, 3]) text(1, 2, 'Hello', backgroundcolor = 'red') This plots a nice red box but no text. It looks like the backgroundcolor is set as the foreground. Am I doing something wrong or is this a bug? mpl ve