Preset focal point is ignored when choosing view type from GUI
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 316
- Avg merge
- 7h 44m
- Merged PRs (30d)
- 5
Description
**Environment**
- Python 3.6.9
- Mayavi 4.6.2
**Issue**
The preset `focalpoint` seems to be ignored when choosing the view type (ex. `View along the +Z axis`) in GUI.
To be specific, the `focalpoint` is *first* set in the code:
```Python
mlab.view(
azimuth=180,
elevation=60.0,
focalpoint=(0,0,0),
distance=10.0,
figure=fig,
)
```
*Initially*, the plot is correct; the focal point is set to `(0,0,0)`:

However, once I clicked `View along the +Z axis`, the `focalpoint` seems to be reset to the average of all the data (in this case, point cloud), shifting the whole plot.

The plot after clicking:

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.