Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python-dash/avocado_analytics_1/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"type": "lines",
},
],
"layout": {"title": "Average Price of Avocados"},
"layout": {"title": {"text": "Average Price of Avocados"}},
},
),
dcc.Graph(
Expand All @@ -40,11 +40,11 @@
"type": "lines",
},
],
"layout": {"title": "Avocados Sold"},
"layout": {"title": {"text": "Avocados Sold"}},
},
),
]
)

if __name__ == "__main__":
app.run_server(debug=True)
app.run(debug=True)
2 changes: 1 addition & 1 deletion python-dash/avocado_analytics_2/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@
)

if __name__ == "__main__":
app.run_server(debug=True)
app.run(debug=True)
2 changes: 1 addition & 1 deletion python-dash/avocado_analytics_3/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,4 @@ def update_charts(region, avocado_type, start_date, end_date):


if __name__ == "__main__":
app.run_server(debug=True)
app.run(debug=True)
12 changes: 1 addition & 11 deletions python-dash/avocado_analytics_3/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,8 @@ body {
box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.18);
}

.Select-control {
.dropdown {
width: 256px;
height: 48px;
}

.Select--single>.Select-control .Select-value,
.Select-placeholder {
line-height: 48px;
}

.Select--multi .Select-value-label {
line-height: 32px;
}

.menu-title {
Expand Down
94 changes: 63 additions & 31 deletions python-dash/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,45 +1,77 @@
#
# This file is autogenerated by pip-compile with python 3.11
# To update, run:
#
# pip-compile requirements.in
#
click==8.1.3
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in --python-version 3.13 -o requirements.txt
annotated-types==0.8.0
# via pydantic
blinker==1.9.0
# via flask
dash==2.8.1
# via -r requirements.in
dash-core-components==2.0.0
# via dash
dash-html-components==2.0.0
certifi==2026.11.20
# via requests
charset-normalizer==3.5.3
# via requests
click==8.5.1
# via flask
comm==0.2.3
# via dash
dash-table==5.0.0
dash==4.5.2
# via -r requirements.in
flask==3.1.3
# via dash
flask==2.2.2
idna==3.20
# via requests
importlib-metadata==10.2.0
# via dash
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.2
janus==2.1.1
# via dash
jinja2==3.1.6
# via flask
markupsafe==2.1.2
lazy-importer==0.1.0
# via importlib-metadata
markupsafe==3.0.4
# via
# flask
# jinja2
# werkzeug
numpy==1.24.1
narwhals==2.30.0
# via plotly
nest-asyncio==1.6.0
# via dash
numpy==2.5.5
# via pandas
pandas==1.5.3
packaging==26.4
# via plotly
pandas==3.1.2
# via -r requirements.in
plotly==5.13.0
plotly==7.2.0
# via dash
python-dateutil==2.8.2
# via pandas
pytz==2022.7.1
pydantic==2.14.4
# via dash
pydantic-core==2.50.5
# via pydantic
python-dateutil==4.0.0
# via pandas
six==1.16.0
requests==2.34.2
# via dash
retrying==1.4.2
# via dash
setuptools==84.2.1
# via dash
typing-extensions==4.16.0
# via
# dash
# pydantic
# pydantic-core
# typing-inspection
typing-inspection==0.4.5
# via pydantic
tzdata==2026.6
# via python-dateutil
tenacity==8.1.0
# via plotly
werkzeug==2.2.2
# via flask

# The following packages are considered to be unsafe in a requirements file:
# setuptools
urllib3==2.8.0
# via requests
werkzeug==3.1.9
# via
# dash
# flask
zipp==4.1.2
# via importlib-metadata
Loading