mpl_toolkits

Hello,

  where can I find mpl_toolkits.
  Because I install matplotlib with ipython and the command
  yum install python-matplotlib
  but as a result I have no axes3d.py file and when I tried the examples of
  the matplotlib site I get the following message:
  unknown projection 3d
Apparently the toolkits mpl3d is missing, which site can provide it?

  Best regards

  Jeanguillaume

···

--
   Christian JEANGUILLAUME

   Service de Medecine Nucleaire
   CHU Larrey
   49033 ANGERS FRANCE
   email: jeanguillaume@...195...
   Tel: 33 (0)2 41 35 34 12
   Fax: 33 (0)2 41 35 48 80

   LISA : Laboratoire d'Ing�ierie
   des Syst�es Automatis� (CNRS FRE)

Jeanguillaume,

Which version of matplotlib did you install? The axes3d.py examples use a very new feature that wasn’t available in previous versions. The current examples can run with older versions of matplotlib by replacing the .gca() or the .add_subplot() line with

ax = axes3d.Axes3D(fig)

However, you would not be able to do any 3d subplotting examples without the latest version of matplotlib.

I hope that clears things up.

Ben Root

···

On Tue, Aug 10, 2010 at 12:15 PM, c.jeang <christian.jeanguillaume@…3234…> wrote:

Hello,

where can I find mpl_toolkits.

Because I install matplotlib with ipython and the command

yum install python-matplotlib

but as a result I have no axes3d.py file and when I tried the examples of

the matplotlib site I get the following message:

unknown projection 3d

Apparently the toolkits mpl3d is missing, which site can provide it?

Best regards

Jeanguillaume

Most likely your matplotlib version provided by yum is out of date.
Check your version with

  import matplotlib
  print matplotlib.__version__

You can download the latest tarball from sourceforge:

  http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/

See also the installing page:

  http://matplotlib.sourceforge.net/users/installing.html

particularly the part on "Installing from source" and below. Perhaps
another yum user can advise you on the easiest ways to install the
build dependencies.

JDH

···

On Tue, Aug 10, 2010 at 12:15 PM, c.jeang <christian.jeanguillaume@...3234...> wrote:

Hello,

where can I find mpl_toolkits.
Because I install matplotlib with ipython and the command
yum install python-matplotlib
but as a result I have no axes3d.py file and when I tried the examples of
the matplotlib site I get the following message:
unknown projection 3d
Apparently the toolkits mpl3d is missing, which site can provide it?