mayavi2 drawing of plot broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mayavi2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
python
>>from mayavi import mlab
>>mlab.
What I expect: a mayavi figure window with a single sphere centered at the origin
What I get: a mayavi figure window that doesn't refresh (if I drag another window over it temporarily, the figure window will still show the contents of that window)
I am running oneiric, and the mayavi2 package is installed. It's version is 4.0.0-1ubuntu1
I am running python 2.7.2-5ubuntu1
I am using nvidia drivers (nvidia-current)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: mayavi2 4.0.0-1ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-14-
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Fri Jan 13 16:37:15 2012
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mayavi2
UpgradeStatus: No upgrade log present (probably fresh install)
this is probably the expected behavior.
the default python shell does not integrate with the event loop used by mayavi (wx's I think)
you have to use a better shell to have interactive features.
e.g. ipython
ipython -wthread 0,0,0)
In [1]: from mayavi import mlab
In [2]: mlab.points3d(
ipython --gui wx if you have ipython >= 0.11