Skip to content

Commit ddba96e

Browse files
committed
Update what_about_dash.md
1 parent 00c18fd commit ddba96e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/what_about_dash.md

Lines changed: 2 additions & 4 deletions
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)