Skip to content

Commit

Permalink
Merge pull request #202 from sol-eng/dash-int
Browse files Browse the repository at this point in the history
integrate dash changes
  • Loading branch information
edavidaja authored Dec 6, 2023
2 parents 2a7a43f + f384b27 commit 84ab6f7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
2 changes: 2 additions & 0 deletions dash-app/app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from dotenv import load_dotenv
load_dotenv()
import dash
import pandas as pd
from dash import dcc, html
Expand Down
3 changes: 2 additions & 1 deletion dash-bikeshare/app.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from dotenv import load_dotenv
load_dotenv()
import dash
import os
import pandas as pd
Expand All @@ -6,7 +8,6 @@

from dash import dcc, html
from dash.dependencies import Input, Output
from dotenv import load_dotenv

app = dash.Dash(__name__)

Expand Down
13 changes: 5 additions & 8 deletions dash-stock-pricing/app.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# -*- coding: utf-8 -*-
from dotenv import load_dotenv
load_dotenv()
import os

import dash
import dash_bootstrap_components as dbc

# from dash import dcc
# from dash import html
import dash_table as dt
import dash_core_components as dcc
import dash_html_components as html
from dash import dash_table, dcc, html
from dash.dependencies import Input, Output
import pandas as pd
import plotly.express as px
Expand Down Expand Up @@ -155,7 +152,7 @@ def custom_date_parser(date):
),
]

max_table_dash = dt.DataTable(
max_table_dash = dash_table.DataTable(
data=max_vol.to_dict("records"),
style_as_list_view=True,
fill_width=False,
Expand Down Expand Up @@ -442,4 +439,4 @@ def update_scatter_plot(all_tickers, price):


if __name__ == "__main__":
app.run_server(debug=True)
app.run()
5 changes: 3 additions & 2 deletions shiny-income-share/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
--index-url https://p3m.dev/pypi/2022-12-09/simple
--index-url https://p3m.dev/pypi/2023-12-05/simple
anywidget
shiny
shinywidgets
vega
altair
pandas
six
six

0 comments on commit 84ab6f7

Please sign in to comment.