fix: replace depricated titlefont with title_font
Browse files- requirements.txt +1 -1
- src/components/visualizations.py +2 -2
requirements.txt
CHANGED
@@ -2,7 +2,7 @@ streamlit>=1.28.0
|
|
2 |
requests>=2.31.0
|
3 |
python-dotenv>=1.0.0
|
4 |
pandas>=2.1.3
|
5 |
-
plotly
|
6 |
httpx>=0.25.1
|
7 |
pydantic-settings>=2.0.3
|
8 |
firebase-admin==6.6.0
|
|
|
2 |
requests>=2.31.0
|
3 |
python-dotenv>=1.0.0
|
4 |
pandas>=2.1.3
|
5 |
+
plotly==6.0.1
|
6 |
httpx>=0.25.1
|
7 |
pydantic-settings>=2.0.3
|
8 |
firebase-admin==6.6.0
|
src/components/visualizations.py
CHANGED
@@ -455,7 +455,7 @@ def create_ranking_ladder(g2_confident_display: pd.DataFrame, top_n: int = 30):
|
|
455 |
gridwidth=1,
|
456 |
gridcolor="rgba(0,0,0,0.1)",
|
457 |
autorange="reversed", # Reverse x-axis to show highest values on left
|
458 |
-
|
459 |
size=14, family="Arial, sans-serif", color="rgba(0,0,0,1.0)"
|
460 |
),
|
461 |
),
|
@@ -468,7 +468,7 @@ def create_ranking_ladder(g2_confident_display: pd.DataFrame, top_n: int = 30):
|
|
468 |
tickvals=top_devices["rank_position"],
|
469 |
ticktext=[f"#{i}" for i in range(1, len(top_devices) + 1)],
|
470 |
autorange="reversed", # This will put rank 1 at the top
|
471 |
-
|
472 |
size=14, family="Arial, sans-serif", color="rgba(0,0,0,1.0)"
|
473 |
),
|
474 |
),
|
|
|
455 |
gridwidth=1,
|
456 |
gridcolor="rgba(0,0,0,0.1)",
|
457 |
autorange="reversed", # Reverse x-axis to show highest values on left
|
458 |
+
title_font=dict(
|
459 |
size=14, family="Arial, sans-serif", color="rgba(0,0,0,1.0)"
|
460 |
),
|
461 |
),
|
|
|
468 |
tickvals=top_devices["rank_position"],
|
469 |
ticktext=[f"#{i}" for i in range(1, len(top_devices) + 1)],
|
470 |
autorange="reversed", # This will put rank 1 at the top
|
471 |
+
title_font=dict(
|
472 |
size=14, family="Arial, sans-serif", color="rgba(0,0,0,1.0)"
|
473 |
),
|
474 |
),
|