On Sat, Feb 9, 2008 at 11:05 AM, Jon Loehrke <[EMAIL PROTECTED]> wrote:
> Sorry to bother everyone with this post.
>
> I am new to matplotlib and python in general and am finding a problem that I
> don't understand.
>
> I've downloaded the scipy superpack (through easy_install) from C.
> Fonnesbeck (http://trichech.us) and receive and error when plotting (example
> below).
>
> Personally I do not know enough to diagnose it nor fix the problem.  what is
> _wx.py relate to?  How am I getting C++ assertion failures, shouldn't this
> go through gcc?

GUI packages like wx cannot be run from the standard python shell, as
you are trying to do in using the ex backend of matplotlib, because of
threading issues.  See

  http://matplotlib.sourceforge.net/interactive.html
  http://matplotlib.sourceforge.net/faq.html#SHOW
  http://matplotlib.sourceforge.net/doc/html/faq/installing_faq.html#id1

Short answer: when working interactively from the python shell, either
use tkagg as your backend or ipython in pylab mode

  > ipython -pylab

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to