Skip to content

Commit 9998408

Browse files
committed
Update renderers.md
1 parent 4b73be5 commit 9998408

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/python/renderers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ fig.show(renderer="png", width=800, height=300)
236236
Use [Plotly Studio](https://plotly.com/studio) to build data apps with Plotly figures using natural language and AI. Describe the charts you want to Plotly Studio, which generates them within a [Dash](https://plotly.com/dash/) app that you can publish to [Plotly Cloud](https://plotly.com/cloud/) or [Dash Enterprise](https://plotly.com/dash/).
237237

238238
```python hide_code=true
239-
from IPython.display import IFrame
240-
IFrame('https://www.youtube.com/embed/ZGWMv7PQn-U?si=sRuSNPZWD1AzZsCf&mute=1', width='100%', height=600)
239+
from IPython.display import HTML
240+
HTML('<div style="text-align: center;"><iframe src="https://www.youtube.com/embed/ZGWMv7PQn-U?si=sRuSNPZWD1AzZsCf&mute=1&rel=0" width="80%" height="600" frameborder="0" allowfullscreen></iframe></div>')
241241
```
242242

243243
### Displaying figures in Dash

0 commit comments

Comments
 (0)