I'm following the 3D plotting examples I found at
http://www.scipy.org/Cookbook/Matplotlib/mplot3D
The problem is that my program hangs when I call pylab.show(),
it never returns: my program hangs.
How do I show a 3D plot without hanging my program?
--
Grant Edwards grante
I assume you mean the first example, the wire frame
(see below). It works for me. No problems. When
pylab (matplotlib) plots it does so in a window
associated with a Python process that is separate from
the terminal (I assume you are using a terminal). You
might need to bring that process
Hi,
The examples worked for me too, and I am using IDLE on Windows. And
isn't the program supposed to return control to the terminal even if
the Graph Window is in the background?
There may be something wrong. Can you post the exact code that you are
trying to run and the version numbers? I am
On 2007-04-09, Lou Pecora [EMAIL PROTECTED] wrote:
I assume you mean the first example, the wire frame (see
below). It works for me.
I've tried that code as well, and p.show() doesn't return until
the window is closed. If I use code like that in a python
program, the program becomes
I get this behaviour as well, but only on first usage of show().
However, after that there is no problem. The default is to start off with
interactive mode off, but the first usage of show() turns it on.
So I would guess that the problem is that with interactive mode turned
off, the figure
Some answers:
--- Grant Edwards [EMAIL PROTECTED] wrote:
On 2007-04-09, Lou Pecora [EMAIL PROTECTED]
wrote:
I assume you mean the first example, the wire
frame (see
below). It works for me.
I've tried that code as well, and p.show() doesn't
return until
the window is closed. If I
On Apr 9, 2007, at 1:16 PM, Grant Edwards wrote:
I've switched to using wxmpl to embed figure in a wxWidgets
panel. That almost works -- except I loose the ability for the
user to rotate/zoom using the mouse.
I'm afraid that the current version of WxMpl doesn't play nicely with
matplotlib's
On 2007-04-09, Grant Edwards [EMAIL PROTECTED] wrote:
On 2007-04-09, Lou Pecora [EMAIL PROTECTED] wrote:
I assume you mean the first example, the wire frame (see
below). It works for me.
I've tried that code as well, and p.show() doesn't return until
the window is closed. If I use code