[SciPy-user] matplotlib problem on windows

Robert Kern robert.kern at gmail.com
Mon May 8 07:32:09 EDT 2006


Edin Salković wrote:
>>Recent matplotlibs should be able to work with numpy (and only numpy) fine. You
>>may have to edit the "numerix" variable in your matplotlibrc file to say "numpy"
>>instead of "Numeric".
> 
> Weird. I am using a windows machine at the moment with the newest
> versions of python 2.4, numpy, matplotlib (binary installers). When I
> changed (actually created, because the installation doesn't create it
> by default) the matplotlibrc file, it started complaining about some
> gtk stuff:
> 
> from pylab import *

> When I install Numeric (i also had to remove matplotlibrc) everything is fine.

When you create the matplotlibrc, it has to be a full matplotlibrc. Copy the one
inside the package over and make sure that the "backend" variable is also set
appropriately for your setup.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the SciPy-User mailing list