enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.32k stars 286 forks source link

Scenes saving random desktop background images #631

Open ktavabi opened 6 years ago

ktavabi commented 6 years ago

I am using version 4.5.1.dev0 and the engine is consistently saving scenes as a file containing the image of the "random" application behind the TVTK scene at the time. For example if I try to save... image via s.scene.save('test.png') or s.scene.save_png('test.png) yields... image

I tried reproducing this with an example and mayavi.new_scene() returned

AttributeError: module 'mayavi' has no attribute 'new_scene'

prabhuramachandran commented 6 years ago

version 4.5.1.dev0 is really a bogus number that isn't very helpful. Are you using Mayavi from github master? What version of VTK?

ktavabi commented 6 years ago

Just to be clear this issue is on a Linux Debian OS...I think the Universe might be trying to tell me something. mayavi(4.5.1.dev0) and vtk(8.1.0) both installed using pip as per #598

prabhuramachandran commented 6 years ago

I suggest you use Mayavi from github master or wait a few weeks for a new pip installable release. I am not sure about the messaging from the universe... 😀

prabhuramachandran commented 6 years ago

FWIW, I do have Mayavi working on Ubuntu 16.04 on a few machines.