"Thomas =?iso | 18 Jul 10:41

Re: Modify surf output (axes, scaling)

Hi again. I tried to pass the extent argument to the axes, but as a result the program breaks. Here's what I did:

from enthought.mayavi.mlab import surf,axes;from numpy import zeros;g=zeros((5,5));g[0][0]=1e5;plott=surf(g,extent=[0,3,0,3,0,6]);plott.name="p336";axes(name="p336",extent=[0,3,0,3,0,6])

Frame Based Inspector says "Exception: 'Axes' object has no attribute 'actor'", pointing at the mayvi tools.py (def _set_extent method)

Did I miss something? And, again, how can I/Pierre from pythonxy update mayavi2 to version 2.8? It's not on http://code.enthought.com/enstaller/eggs/windows/xp/ or in the EPD package...

Thumbs up

Thomas


On Thu, Jul 17, 2008 at 19:15, Dave Peterson <dpeterson-SCgzsaguwNrby3iVrkZq2A@public.gmane.org> wrote:
Gael Varoquaux wrote:
On Thu, Jul 17, 2008 at 10:10:45AM -0500, Dave Peterson wrote:
EPD does indeed include IDLE and another editor called SciTe -- both can be launched from within the start menu. And yes, EPD does support wxPython.
Hum, doesn't IDLE crash on start of wx mainloop (as it relies on Tk)?

Actually, I know nothing about IDLE as I don't use it.  I just meant that EPD includes wxPython.

-- Dave


_______________________________________________
Enthought-dev mailing list
Enthought-dev-oRDGkvazHdacsI7C1d+pp9BPR1lH4CV8@public.gmane.org
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev

Gmane