Skip to content

Commit

Permalink
112 remove axis title for two stacked bar charts (#125)
Browse files Browse the repository at this point in the history
* Removed src. to make sure we can run locally

* Removed src. to avoid crushing

* Removed ../ from data driectory to run python.src/app.py

* Removed x-axis titles for both stacked bar charts

* Revert to main

* Revert to main

* Revert to main
  • Loading branch information
zth96 committed Apr 18, 2024
1 parent d684307 commit 9aca5f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def create_stacked_chart_race(df):
fig.update_layout(
title_text='Political Party by Race',
title_font_size=20,
xaxis_title_font=dict(size=15),
xaxis_title='',
yaxis_title_font=dict(size=15),
legend_title_font_size=10,
legend_font_size=10,
Expand Down Expand Up @@ -75,7 +75,7 @@ def create_stacked_chart_education(df):
fig.update_layout(
title_text='Political Party by Education Level',
title_font_size=20,
xaxis_title_font=dict(size=15),
xaxis_title='',
yaxis_title_font=dict(size=15),
legend_title_font_size=10,
legend_font_size=10,
Expand Down

0 comments on commit 9aca5f9

Please sign in to comment.