Spaces:
Running
Running
Update functions/PitchPlotFunctions.py
Browse files
functions/PitchPlotFunctions.py
CHANGED
|
@@ -658,7 +658,7 @@ class PitchPlotFunctions:
|
|
| 658 |
|
| 659 |
# Add comparison note below the legend if comparison data is present
|
| 660 |
if compare_df is not None and len(compare_df) > 0 and compare_year is not None:
|
| 661 |
-
ax_legend.text(0.5, 0.
|
| 662 |
ha='center', va='top', fontsize=10, fontstyle='italic',
|
| 663 |
transform=ax_legend.transAxes)
|
| 664 |
|
|
|
|
| 658 |
|
| 659 |
# Add comparison note below the legend if comparison data is present
|
| 660 |
if compare_df is not None and len(compare_df) > 0 and compare_year is not None:
|
| 661 |
+
ax_legend.text(0.5, 0.0, f'Note: Dashed ellipses show comparison to {compare_year}',
|
| 662 |
ha='center', va='top', fontsize=10, fontstyle='italic',
|
| 663 |
transform=ax_legend.transAxes)
|
| 664 |
|