>>>>> "Angus" == Angus McMorland <[EMAIL PROTECTED]> writes:

    Fernando> ipython -wthread
    >> [...]
    Fernando> if you want also matplotlib support AND you have
    Fernando> configured mpl to use one of the WX-based backends.

    Angus> Yep - I use the WXAgg backend.

    Fernando> Since Mayavi2 is a WX app, you can only use both WX and
    Fernando> MPL together if you use the WX backends for MPL.
    >>  Just to confirm, yes, that is about all there is to it.

    Angus> Great, so it sounds like it should be possible. Now, it's
    Angus> just a case of me not being able to figure out the
    Angus> mechanics of what to type to make it work. I start ipython
    Angus> with -pylab, and I'm typing into it, as per the scripting
    Angus> example in the cookbook:

Hmm, yes this is a bug.  I've never used mayavi with -pylab.  I've
checked in a fix for this.  A couple of points to note.  

 1. You should consider using mayavi.tools.mlab which might make your
    life easier.

 2. When doing generic scripting you could just start up mayavi via
    mlab.figure() to get hold of a mayavi script instance that you can
    script just like on mayavi's embedded shell.  You should consider
    reading examples/README.txt for details on why this is optimal.

cheers,
prabhu



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to