Spaces:
Sleeping
Sleeping
Update pages/player stats.py
Browse files- pages/player stats.py +4 -3
pages/player stats.py
CHANGED
|
@@ -146,9 +146,10 @@ fig = make_subplots(
|
|
| 146 |
#subplot_titles=[f"Stats {i+1}" for i in range(num_plots)]
|
| 147 |
#subplot_titles=[f"{header}" for header in row_headers]
|
| 148 |
subplot_titles = []
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
|
|
|
| 152 |
|
| 153 |
)
|
| 154 |
|
|
|
|
| 146 |
#subplot_titles=[f"Stats {i+1}" for i in range(num_plots)]
|
| 147 |
#subplot_titles=[f"{header}" for header in row_headers]
|
| 148 |
subplot_titles = []
|
| 149 |
+
for i in range(len(final_df2)):
|
| 150 |
+
label = final_df2.iloc[i, 0]
|
| 151 |
+
subplot_titles.append(f"{label} - Pie")
|
| 152 |
+
subplot_titles.append(f"{label} - Bar")
|
| 153 |
|
| 154 |
)
|
| 155 |
|