Skip to content

Commit 3c0ccde

Browse files
authored
Merge pull request #3856 from plotly/update-dash-imports
Update what_about_dash.md
2 parents aae423f + 06bba66 commit 3c0ccde

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: doc/what_about_dash.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ fig = go.Figure() # or any Plotly Express function e.g. px.bar(...)
1515
# fig.add_trace( ... )
1616
# fig.update_layout( ... )
1717

18-
import dash
19-
import dash_core_components as dcc
20-
import dash_html_components as html
18+
from dash import Dash, dcc, html
2119

22-
app = dash.Dash()
20+
app = Dash()
2321
app.layout = html.Div([
2422
dcc.Graph(figure=fig)
2523
])

0 commit comments

Comments
 (0)