Skip to content

Commit 5889b1b

Browse files
committed
Fix imports, tweak docs
1 parent 377e61d commit 5889b1b

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# viser
22

3-
`viser` is a library for interactive 3D visualization + Python, inspired by the
4-
best bits of the
3+
**[ [API Reference](https://brentyi.github.io/viser) ]**
4+
5+
`viser` is a library for interactive 3D visualization + Python, inspired by
6+
our favorite bits of the
57
[Nerfstudio viewer](https://github.com/nerfstudio-project/nerfstudio),
68
[Pangolin](https://github.com/stevenlovegrove/Pangolin),
79
[rviz](https://wiki.ros.org/rviz/), and

docs/source/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
|mypy| |nbsp| |pyright| |nbsp| |typescript| |nbsp| |versions|
44

5-
`viser` is a library for interactive 3D visualization + Python, inspired by the
6-
best bits of the
5+
`viser` is a library for interactive 3D visualization + Python, inspired by
6+
our favorite bits of the
77
[Nerfstudio viewer](https://github.com/nerfstudio-project/nerfstudio),
88
[Pangolin](https://github.com/stevenlovegrove/Pangolin),
99
[rviz](https://wiki.ros.org/rviz/), and

viser/infra/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
"""Websocket-based communication infrastructure.
1+
""":mod:`viser.infra` provides WebSocket-based communication infrastructure.
22
33
We implement abstractions for:
4-
- Launching a websocket+HTTP server on a shared port.
4+
- Launching a WebSocket+HTTP server on a shared port.
55
- Registering callbacks for connection events and incoming messages.
66
- Asynchronous message sending, both broadcasted and to individual clients.
77
- Defining dataclass-based message types.

viser/infra/_messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import numpy as onp
1212

1313
if TYPE_CHECKING:
14-
from ._core import ClientId
14+
from ._infra import ClientId
1515
else:
1616
ClientId = Any
1717

0 commit comments

Comments
 (0)