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  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 no text. It looks like the backgroundcolor
> is set as the foreground. Am I doing something wrong or is this a bug? mpl
> version 1.4.3
> >
> > Thanks, Mark
> >
> >
> --
> > Don't Limit Your Business. Reach for the Cloud.
> > GigeNET's Cloud Solutions provide you with the tools and support that
> > you need to offload your IT needs and focus on growing your business.
> > Configured For All Businesses. Start Your Cloud Today.
> >
> https://www.gigenetcloud.com/___
> > Matplotlib-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


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 no text. It looks like the backgroundcolor is 
> set as the foreground. Am I doing something wrong or is this a bug? mpl 
> version 1.4.3
> 
> Thanks, Mark
> 
> --
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/___
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


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', 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
> version 1.4.3
>
> Thanks, Mark
>
>
>
> --
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> ___
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users