You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To begin, install the `rerun-sdk` package with the `notebook` extra:
18
+
```sh
19
+
pip install rerun-sdk[notebook]
20
+
```
18
21
19
-
When using the Rerun logging APIs, by default, the logged messages are buffered in-memory until
20
-
you send them to a sink such as via `rr.connect()` or `rr.save()`. When using Rerun in a notebook,
21
-
rather than using the other sinks, you have the option to use a helper method: [`rr.notebook_show()`](https://ref.rerun.io/docs/python/stable/common/initialization_functions/#rerun.notebook_show).
22
-
This method takes any buffered messages and converts them into an HTML snipped including
23
-
the inlined data along with an instance of the Viewer in an iframe.
22
+
This installs both [rerun-sdk](https://pypi.org/project/rerun-sdk/) and [rerun-notebook](https://pypi.org/project/rerun-notebook/).
24
23
25
24
## The APIs
26
25
27
-
In order to output the current recording data to a notebook cell, call:
When using the Rerun logging APIs, by default, the logged messages are buffered in-memory until
27
+
you send them to a sink such as via `rr.connect()` or `rr.save()`.
28
+
29
+
When using Rerun in a notebook, rather than using the other sinks, you have the option to use [`rr.notebook_show()`](https://ref.rerun.io/docs/python/stable/common/initialization_functions/#rerun.notebook_show). This method embeds the [web viewer](./embed-rerun-viewer.md) using the IPython `display` mechanism in the cell output, and sends the current recording data to it.
30
+
31
+
Once the viewer is open, any subsequent `rr.log()` calls will send their data directly to the viewer,
0 commit comments