Skip to content

Commit 571ae5e

Browse files
committed
update for new init_display for jupyter
1 parent 3a7f4b3 commit 571ae5e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ Running this will serve our slideshow to `"https://localhost:8765/client/index.h
6161
You could even display the same thing in a Jupyter notebook!
6262

6363
```python
64-
idom.display("jupyter", "https://localhost:8765/stream")
64+
from idom.widgets.jupyter import init_display
65+
display = init_display("127.0.0.1")
66+
display(Slideshow)
6567
```
6668

6769
Every click will then cause the image to change (it won't here of course).

0 commit comments

Comments
 (0)