Re: [Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-18 Thread Sterling Smith
I have used the TkAgg backend in python2, installing the dependencies by hand. Is this backend not available for python3? -Sterling On Apr 18, 2013, at 8:03PM, John Ladasky wrote: > Thanks to both Francesco Montesano and Benjamin Root. I have done some > reading. And I have made some progre

Re: [Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-18 Thread C M
On Thu, Apr 18, 2013 at 11:03 PM, John Ladasky wrote: > . > Reading more, I realize that the way I was getting GUI output previously > (with Python 2.7 and Matplotlib 1.1) was through wxPython. > Unfortunately, it appears that wxPython's star is fading, and a Python > 3-compatible version will not

Re: [Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-18 Thread John Ladasky
Thanks to both Francesco Montesano and Benjamin Root. I have done some reading. And I have made some progress, though I am not quite where I want to be yet. So the problem appears to be that the only backend for which I had suitable Python 3 libraries was agg. It only requires libpng, which

Re: [Matplotlib-users] TypeError: unsupported operand type(s) for +: 'NoneType' and 'float' on 1.2.1

2013-04-18 Thread Michael Droettboom
Can you please provide a complete, minimal and self-contained script that reproduces the error? The example below has many undefined variables etc. Cheers, Mike On 04/16/2013 07:09 PM, Christophe Pettus wrote: > # preamble code collecting data > > ind = np.arange(len(table_name)) >

Re: [Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-18 Thread Benjamin Root
On Thu, Apr 18, 2013 at 3:34 AM, John Ladasky wrote: > Hello everyone, > > After not using Matplotlib for over a year, I'm returning to it. > Meanwhile, I have upgraded from Python 2.7 to Python 3.2, and I want to > do all of my software development in Python 3 from now on. > > My OS is Ubuntu 12.

Re: [Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-18 Thread Francesco Montesano
Hi John, 2013/4/18 John Ladasky > On 04/18/2013 01:01 AM, Francesco Montesano wrote: > >> does plt.savefig('test.png') work? >> > Yes, it does! Thank you, that was a useful hint. Good, than I would say that is a clear sign that you have a non interactive backend. Can you please give use the o

Re: [Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-18 Thread Francesco Montesano
Hi John, does plt.savefig('test.png') work? If the figure get saved, it can be that you are using a non interactive backend Cheers Fra 2013/4/18 John Ladasky > Hello everyone, > > After not using Matplotlib for over a year, I'm returning to it. > Meanwhile, I have upgraded from Python 2.7 to

[Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-18 Thread John Ladasky
Hello everyone, After not using Matplotlib for over a year, I'm returning to it. Meanwhile, I have upgraded from Python 2.7 to Python 3.2, and I want to do all of my software development in Python 3 from now on. My OS is Ubuntu 12.04.1. Python 2.7 is still the default Python for Ubuntu, and m