Skip to content

Commit

Permalink
update for new init_display for jupyter
Browse files Browse the repository at this point in the history
  • Loading branch information
rmorshea committed Sep 3, 2020
1 parent 3a7f4b3 commit 571ae5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ Running this will serve our slideshow to `"https://localhost:8765/client/index.h
You could even display the same thing in a Jupyter notebook!

```python
idom.display("jupyter", "https://localhost:8765/stream")
from idom.widgets.jupyter import init_display
display = init_display("127.0.0.1")
display(Slideshow)
```

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

0 comments on commit 571ae5e

Please sign in to comment.