It would be great to be able to run open3d without plotly installed
- Dominant language
- C++
- Stars
- 14k
- Forks
- 2.6k
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 6
Description
### Checklist
- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).
### Proposed new feature or change
The plotly installation has over 30000 files, and I would like to use the open3d features without having plotly installed (limited number of files allowed on HPC).
But I am unable to import open3d without plotly.
```
>>> import open3d
Traceback (most recent call last):
File "", line 1, in
File "/lib/python3.11/site-packages/open3d/__init__.py", line 112, in
import open3d.visualization
File "lib/python3.11/site-packages/open3d/visualization/__init__.py", line 19, in
from .draw_plotly import draw_plotly
File "/lib/python3.11/site-packages/open3d/visualization/draw_plotly.py", line 10, in
import plotly.graph_objects as go
ModuleNotFoundError: No module named 'plotly'
```
```
/lib/python3.11/site-packages> find plotly -name "*" | wc
33492 33492 2072651
```
33492 files for plotly is a lot, and not needed for all parts of open3d.
### References
_No response_
### Additional information
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.