Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cfc8126

Browse files
Joseph Damibanicolaskruchten
Joseph Damiba
authored andcommitted
use html escape
1 parent b080ae6 commit cfc8126

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/python/renderers.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,7 @@ It is important to note that Dash does not use the renderers framework discussed
235235

236236
Instead, pass your figure as the `figure` parameter to the [`dcc.Graph`](https://dash.plot.ly/dash-core-components/graph) component, which is part of the [Dash Core Components](https://dash.plot.ly/dash-core-components) library. The code below demonstrates how to do this.
237237

238-
239-
```python .noeval
238+
<!-- #raw -->
240239
import dash_core_components as dcc
241240
import plotly.graph_objs as go
242241

@@ -246,8 +245,7 @@ dcc.Graph(
246245
id='example-graph-2',
247246
figure=fig
248247
)
249-
```
250-
248+
<!-- #endraw -->
251249

252250
## Displaying Figures Using `ipywidgets`
253251
Plotly figures can be displayed in [ipywidgets](https://ipywidgets.readthedocs.io/en/stable/) contexts using `plotly.graph_objects.FigureWidget` objects. `FigureWidget` is a figure graph object (just like `plotly.graph_objects.Figure`), so you can add traces to it and update it just like a regular `Figure`. But `FigureWidget` is also an `ipywidgets` object, which means that you can display it alongside other `ipywidgets` to build user interfaces right in the notebook.

0 commit comments

Comments
 (0)