Skip to content

Commit 469de20

Browse files
committed
Fix gifs
1 parent c227002 commit 469de20

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ def server(input, output, session):
7777
app = App(app_ui, server)
7878
```
7979

80-
![<https://imgur.com/a/pUOEfwv.gifv>](https://imgur.com/a/pUOEfwv.gif)
81-
80+
<div align="center">
81+
<img src="https://user-images.githubusercontent.com/1365941/171508416-1ebe157c-b305-4517-9c89-14891dff8f79.gif" width="70%">
82+
</div>
8283

8384
The style of programming above (display and mutate) is great for efficiently performing
8485
partial updates to a widget. This is really useful when a widget needs to display lots
@@ -131,7 +132,10 @@ def server(input, output, session):
131132
app = App(app_ui, server)
132133
```
133134

134-
![<https://imgur.com/a/54ECn09.gifv>](https://imgur.com/a/54ECn09.gif)
135+
<div align="center">
136+
<img src="https://user-images.githubusercontent.com/1365941/171507230-4b32ce4a-6e80-43a4-9c71-6a1f3ffe443e.gif" width="70%">
137+
</div>
138+
135139

136140
That being said, in a situation where:
137141

@@ -148,7 +152,7 @@ be noticeable delay.
148152

149153
```py
150154
from shiny import *
151-
from ipyshiny import output_widget, register_widget, reactive_read
155+
from ipyshiny import output_widget, render_widget
152156
import ipyleaflet as L
153157

154158
app_ui = ui.page_fluid(
@@ -212,7 +216,7 @@ In some cases, the package(s) that you want to use may not come pre-bundled with
212216
file](https://pyshiny.netlify.app/examples/#extra-packages) to pre-install those other
213217
packages
214218

215-
## Troubleshooting {#troubleshooting}
219+
## Troubleshooting
216220

217221
If after [installing](#installation) `{ipyshiny}`, you have trouble rendering widgets,
218222
first try running the "hello world" ipywidgets [example](https://github.com/rstudio/ipyshiny/blob/main/examples/ipywidgets/app.py). If that doesn't work, it could be that you have an unsupported version
@@ -237,7 +241,7 @@ head_content(HTML(Resources(mode="inline").render()))
237241

238242
#### itables
239243

240-
TODO: Provide initialization code
244+
Coming soon
241245

242246
#### Other widgets
243247

0 commit comments

Comments
 (0)