Unable to save vector EPS files using save_gl2ps method
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 316
- Avg merge
- 7h 44m
- Merged PRs (30d)
- 5
Description
Hi there,
I've recently updated to mayavi 4.6.2 (via pip on Ubuntu 14.04 with Python 2.7), and have seemingly lost the ability to save vector images. When I use the save_gl2ps method on a triangular surface mesh (which worked fine before I updated) the file that's saved is always a raster plot, regardless of which options I use.
Here are the export options I've previously had success with:
exp = tvtk.GL2PSExporter(file_format='eps', sort='bsp', compress=0)
fig.scene.save_gl2ps(save_dir + 'mesh.eps', exp)
I'm not sure if it'll help at all, but I've also been getting an error wherein the fig.scene.render_window.aa_frames property apparently doesn't exist. Also, the original reason that I updated was that I installed skimage, and mayavi started to become unstable, producing errors about not being able to start GLX sessions and then crashing iPython.
Do you have any thoughts on how I might remedy this?
Thanks :)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.