Multiple mplot3d figures: new plots display over old ones?

http://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend

Personally, I use the second approach with “matplotlib.use(‘GTKAgg’)” or whatnot. Based on what I saw you listed as available packages, you should have TkAgg and WxAgg available.

Ben Root

···

On Tue, Feb 15, 2011 at 6:29 PM, Paul Leopardi <paul.leopardi@…3313…> wrote:

Hi Benjamin,
On Wed, 16 Feb 2011 03:07:25 AM you wrote:

I have not figured out what is causing the difference between my computers.

This might be backend-dependent (and maybe version-dependent). Have you

tested your code on different backends?

I don’t know what you mean by different backends. What are the possible ones,

and how do you configure them? Where is this documented?

Best, Paul

Hi Benjamin,

> > I have not figured out what is causing the difference between my
> > computers.
> > This might be backend-dependent (and maybe version-dependent). Have
> > you tested your code on different backends?

Sorry for my delay in replying. I have had a busy week. I've now tested my PC
running OpenSUSE 11.2 with python-matplotlib-1.0.1-20.1.x86_64.

I ran ipython -pylab with various values for "backend=" in the matplotlibrc
file.

The results for all listed backends follow.
Best, Paul

# No figures are displayed:

Agg,Cairo,GDK,PS,PDF,SVG,Template

# Bug: Last plot is displayed in all figures:

GTK,GTKAgg,GTKCairo,TkAgg,WXAgg

# Two Bugs: Figures remain blank until last plot completed.
# Last plot is displayed in all figures.

Qt4Agg

# Failed with error message:

CocoaAgg
# The CococaAgg backend required PyObjC to be installed!
# (currently testing v1.3.7)

FltkAgg
#ImportError: No module named fltk

MacOSX
#ImportError: cannot import name _macosx

QtAgg
# RuntimeError: the sip module implements API v8.0 to v8.1 but the qt module
requires API v7.1

WX
# NotImplementedError: wx.GraphicsContext is not available on this platform.

···

> On Wed, 16 Feb 2011 03:07:25 AM you wrote: