18 Jul 10:41
Re: Modify surf output (axes, scaling)
From: Thomas Königstein <thkoe002@...>
Subject: Re: Modify surf output (axes, scaling)
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-07-18 08:41:54 GMT
Subject: Re: Modify surf output (axes, scaling)
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-07-18 08:41:54 GMT
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:Actually, I know nothing about IDLE as I don't use it. I just meant that EPD includes wxPython.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)?
-- 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
RSS Feed