Skip to content

Commit 6a86381

Browse files
Removed dash link
1 parent a7d95be commit 6a86381

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

doc/python/shapes.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -863,31 +863,3 @@ fig.show(config={'modeBarButtonsToAdd':['drawline',
863863

864864
### Reference
865865
See https://plotly.com/python/reference/layout/shapes/ for more information and chart attribute options!
866-
867-
<!-- #region -->
868-
### What About Dash?
869-
870-
[Dash](https://dash.plot.ly/) is an open-source framework for building analytical applications, with no Javascript required, and it is tightly integrated with the Plotly graphing library.
871-
872-
Learn about how to install Dash at https://dash.plot.ly/installation.
873-
874-
Everywhere in this page that you see `fig.show()`, you can display the same figure in a Dash application by passing it to the `figure` argument of the [`Graph` component](https://dash.plot.ly/dash-core-components/graph) from the built-in `dash_core_components` package like this:
875-
876-
```python
877-
import plotly.graph_objects as go # or plotly.express as px
878-
fig = go.Figure() # or any Plotly Express function e.g. px.bar(...)
879-
# fig.add_trace( ... )
880-
# fig.update_layout( ... )
881-
882-
import dash
883-
import dash_core_components as dcc
884-
import dash_html_components as html
885-
886-
app = dash.Dash()
887-
app.layout = html.Div([
888-
dcc.Graph(figure=fig)
889-
])
890-
891-
app.run_server(debug=True, use_reloader=False) # Turn off reloader if inside Jupyter
892-
```
893-
<!-- #endregion -->

0 commit comments

Comments
 (0)