diff --git a/examples/19_get_renders.py b/examples/19_get_renders.py index a1925a69b..61275f62e 100644 --- a/examples/19_get_renders.py +++ b/examples/19_get_renders.py @@ -33,7 +33,7 @@ def _(event: viser.GuiEvent) -> None: line_width=3.0, color=onp.random.uniform(size=3), ) - images.append(client.get_render(height=1080, width=1920)) + images.append(client.get_render(height=720, width=1280)) print("Writing GIF...") iio.imwrite("saved.gif", images) diff --git a/src/viser/infra/_infra.py b/src/viser/infra/_infra.py index c97493124..3b3f6997c 100644 --- a/src/viser/infra/_infra.py +++ b/src/viser/infra/_infra.py @@ -76,7 +76,7 @@ def unregister_handler( if callback is None: self._incoming_handlers.pop(message_cls) else: - self._incoming_handlers[message_cls].remove(callback) + self._incoming_handlers[message_cls].remove(callback) # type: ignore def _handle_incoming_message(self, client_id: ClientId, message: Message) -> None: """Handle incoming messages."""