Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit d3f9380

Browse files
committed
Merge branch 'tn-update-dash-dep' into dash-int
2 parents cc854b3 + 7f3c7e0 commit d3f9380

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

dash-stock-pricing/app.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33

44
import dash
55
import dash_bootstrap_components as dbc
6-
7-
# from dash import dcc
8-
# from dash import html
9-
import dash_table as dt
10-
import dash_core_components as dcc
11-
import dash_html_components as html
6+
from dash import dash_table, dcc, html
127
from dash.dependencies import Input, Output
138
import pandas as pd
149
import plotly.express as px
@@ -155,7 +150,7 @@ def custom_date_parser(date):
155150
),
156151
]
157152

158-
max_table_dash = dt.DataTable(
153+
max_table_dash = dash_table.DataTable(
159154
data=max_vol.to_dict("records"),
160155
style_as_list_view=True,
161156
fill_width=False,
@@ -442,4 +437,4 @@ def update_scatter_plot(all_tickers, price):
442437

443438

444439
if __name__ == "__main__":
445-
app.run_server(debug=True)
440+
app.run()

0 commit comments

Comments
 (0)