Re: [Matplotlib-users] error: Gtk* backend requires pygtk to be installed

2010-06-24 Thread Mike Anderson
Hi, > Went looking on examples page and found there was a file name demo_image.py > http://matplotlib.sourceforge.net/examples/axes_grid/demo_image.html > > However for whatever reason the source code was not downloadable (404 > error), so I copied it off the html page. I'm not sure why the matpl

Re: [Matplotlib-users] Mac OS X 10.6 dmg install (Tim Gray)

2010-06-24 Thread Hana Sevcikova
Tim, I think you just need to direct the PYTHONPATH variable to the place where matplotlib is installed. My PYTHONPATH looks like this: /Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages:/Library/Python/2.6/site-packages Hana On 6/24/10 6:45 PM, Tim Gray wrote: >

Re: [Matplotlib-users] Mac OS X 10.6 dmg install (Tim Gray)

2010-06-24 Thread Tim Gray
On Jun 24, 2010 at 08:58 PM -0400, Adam J Richards wrote: > Hi Tim, > > From what I gather you are trying to install everything from source the > trying to install via the dmg. I did a fresh install of python, > matplotlib and a number of other packages today (on 10.6) and maybe it > would be help

Re: [Matplotlib-users] Mac OS X 10.6 dmg install (Tim Gray)

2010-06-24 Thread Adam J Richards
Hi Tim, From what I gather you are trying to install everything from source the trying to install via the dmg. I did a fresh install of python, matplotlib and a number of other packages today (on 10.6) and maybe it would be helpful to see how to install from source. When installing Python,

Re: [Matplotlib-users] error: Gtk* backend requires pygtk to be installed

2010-06-24 Thread Stephen George
Hi Mike, I tried to run it on windows. Got error D:\download\python>demo_axes_grid.py Traceback (most recent call last): File "D:\download\python\demo_axes_grid.py", line 2, in from demo_image import get_demo_image ImportError: No module named demo_image Went looking on examples page an

Re: [Matplotlib-users] Question about old matplotlib.transforms API

2010-06-24 Thread Eric Firing
On 06/24/2010 11:57 AM, Florian Berger wrote: > Hi, > > Eric Firing: >> >> It was *such* a major change that Value and its ilk were completely >> replaced, not moved aside. > > Thanks, I feared as much. :) > > >> look at what you were trying to do with the code, not at how you >> implemented it via

Re: [Matplotlib-users] Question about old matplotlib.transforms API

2010-06-24 Thread Florian Berger
Hi, Eric Firing : > > It was *such* a major change that Value and its ilk were completely > replaced, not moved aside. Thanks, I feared as much. :) > look at what you were trying to do with the code, not at how you > implemented it via Value. Well the thing is that *I* did not try anything,

Re: [Matplotlib-users] Question about old matplotlib.transforms API

2010-06-24 Thread Eric Firing
On 06/24/2010 11:07 AM, Florian Berger wrote: > Hi, > > Ryan May: >> >> Michael Droettboom wrote: >>> There is a guide about porting from the old transforms to the new >>> transforms here: >>> >>> http://matplotlib.sourceforge.net/api/api_changes.html#notes-about-the-transforms-refactoring >> >> I

[Matplotlib-users] [ANN] Spyder v1.1.0 released

2010-06-24 Thread Pierre Raybaut
Hi all, I'm pleased to announce here that Spyder version 1.1.0 has been released: http://packages.python.org/spyder Spyder (the Scientific PYthon Development EnviRonment) is a free open-source Python development environment providing MATLAB-like features in a simple and light-weighted software,

Re: [Matplotlib-users] Question about old matplotlib.transforms API

2010-06-24 Thread Florian Berger
Hi, Ryan May : > > Michael Droettboom wrote: > > There is a guide about porting from the old transforms to the new > > transforms here: > > > > http://matplotlib.sourceforge.net/api/api_changes.html#notes-about-the-transforms-refactoring > > It's possible I'm missing something, but I don't see >

[Matplotlib-users] Mac OS X 10.6 dmg install

2010-06-24 Thread Tim Gray
I'm updating my python install but am running into problems with matplotlib, as always. This time around I'd thought I'd use the .dmg installer. I've already installed Python 2.6.5 from python.org and numpy from scipy.org. Both of these work. I noticed the matplotlib installer wants to instal

Re: [Matplotlib-users] Question about old matplotlib.transforms API

2010-06-24 Thread Ryan May
On Thu, Jun 24, 2010 at 1:11 PM, Michael Droettboom wrote: > There is a guide about porting from the old transforms to the new > transforms here: > > http://matplotlib.sourceforge.net/api/api_changes.html#notes-about-the-transforms-refactoring It's possible I'm missing something, but I don't see

Re: [Matplotlib-users] Question about old matplotlib.transforms API

2010-06-24 Thread Michael Droettboom
There is a guide about porting from the old transforms to the new transforms here: http://matplotlib.sourceforge.net/api/api_changes.html#notes-about-the-transforms-refactoring Mike On 06/24/2010 01:53 PM, Florian Berger wrote: > Hi, > > I've stumbled across an old application from 2007 which u

[Matplotlib-users] Question about old matplotlib.transforms API

2010-06-24 Thread Florian Berger
Hi, I've stumbled across an old application from 2007 which uses the old matplotlib.transforms API, namely matplotlib.transforms.Value() which obviously disappeared in a great transforms overhaul. I tried to figure out what has become of these classes and functions browsing the changelog and SVN,

[Matplotlib-users] most recent install instruction for Mac OS

2010-06-24 Thread Christopher Brewster
Can someone point me to up to date installation instructions for Mac OS (10.6.4, python 2.6.4)? Every route I pursue hits a dead end. - if I install from dmg files on the matplotlib, it is not visible to my python installation (I think it installs to the OSX native python). - if I install via ea

Re: [Matplotlib-users] colorbar and logscale

2010-06-24 Thread Eric Firing
On 06/24/2010 04:03 AM, Benjamin Root wrote: > Ah, I just noticed that. > > Actually, I think I just figured out what is happening. The colorbar > automatically chooses what values to display, and in your case, the > values are 0.0, -0.4, -0.8, -1.2, -1.6, ..., -3.6, which when turned > into integ

Re: [Matplotlib-users] Animation crashes on Windows

2010-06-24 Thread Christoph Gohlke
On 6/24/2010 9:49 AM, João Luís Silva wrote: > Hi, > > This simple script will animate correctly on Linux, but will not work on > Windows (mpl 0.99.3) and at the end will crash with a message box > (unknown software exception (0x4015) at the location 0x1e05b62a) and > prints to the console: >

Re: [Matplotlib-users] Animation crashes on Windows

2010-06-24 Thread João Luís Silva
The crash happens with the TKAgg backend but not with the GTKAgg backend, but the script will still not animate. This one will however: #--- import matplotlib matplotlib.use("GTKAgg") import matplotlib.pyplot as plt import numpy as np plt.ion() x = np.arange(0

[Matplotlib-users] Animation crashes on Windows

2010-06-24 Thread João Luís Silva
Hi, This simple script will animate correctly on Linux, but will not work on Windows (mpl 0.99.3) and at the end will crash with a message box (unknown software exception (0x4015) at the location 0x1e05b62a) and prints to the console: Fatal Python error: PyEval_RestoreThread: NULL tstat

Re: [Matplotlib-users] colorbar and logscale

2010-06-24 Thread Benjamin Root
Ah, I just noticed that. Actually, I think I just figured out what is happening. The colorbar automatically chooses what values to display, and in your case, the values are 0.0, -0.4, -0.8, -1.2, -1.6, ..., -3.6, which when turned into integers are 0, 0, 0, -1, -1, ..., -3, which matches what you

Re: [Matplotlib-users] colorbar and logscale

2010-06-24 Thread Benoit Donnet
Hello Benjamin, Thanks for your reply. > Is there any particular reason why you can't do a log10() of the data that is > being pcolor()'d and then label the colorbar as having units of dB? That > would seem to be the most straight-forward approach to me. That's what I first tested. In that c

Re: [Matplotlib-users] colorbar and logscale

2010-06-24 Thread Benjamin Root
Benoit, Is there any particular reason why you can't do a log10() of the data that is being pcolor()'d and then label the colorbar as having units of dB? That would seem to be the most straight-forward approach to me. Ben Root 2010/6/24 Benoit Donnet > Hi guys, > > I'm struggling with colorb