[Numpy-discussion] Nonblocking Plots with Matplotlib

Bill Baxter wbaxter@gmail....
Mon Mar 19 22:58:13 CDT 2007


On 3/20/07, Christian K. <ckkart@hoc.net> wrote:
> Hi Bill,
>
> I just tried ezplot and encountered some problems:
>
> In [1]: import ezplot
> In [2]: p = ezplot.Plotter()
> In [3]: p.plot([1,2,3],[1,4,9],marker='o')
>
> At this point a window pops up for a second, closes again and plot does not
> return.
>
> I'm running python 2.4.4 on kubuntu linux with wxPython 2.6.3.3, twisted 2.4.
>
> Any ideas how to solve that?

Can you see if you can run the plotserver directly?
    python plotserver.py

If one is not running then that p.plot command tries to start one up
using the process module.  But apparently that doesn't work right on
MacOS, so maybe it's got problems on linux too.

If you start the plotserver up by itself first there should be a
little (non-plot) window that pops up for it.  Once it's up you can
try the lines you typed in above again (try that from a clean python
session just to be sure).

--bb


More information about the Numpy-discussion mailing list