mayavi can only show a 3d image with axes
Open
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 316
- Avg merge
- 7h 44m
- Merged PRs (30d)
- 5
Description
This is my code:
`import numpy as np
import mayavi.mlab as mlab
x, y = np.ogrid[-2:2:20j, -2:2:20j]
z = x * np.exp( - x**2 - y**2)
pl = mlab.surf(x, y, z)
mlab.axes(xlabel='x', ylabel='y', zlabel='z')
mlab.outline(pl)
mlab.show()`
when I ran this code, I got this:

and this is the image:

I have no idea about it. Can anyone help me? thx!!!!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.