Spaces:
Running
Running
Update src/vis_utils.py
Browse files- src/vis_utils.py +1 -1
src/vis_utils.py
CHANGED
@@ -150,7 +150,7 @@ def plot_function_results(aspect, metric, method_names, function_path="/tmp/func
|
|
150 |
# Create clustermap
|
151 |
g = sns.clustermap(df, annot=True, cmap="YlGnBu", row_cluster=False, col_cluster=False, figsize=(15, 15))
|
152 |
|
153 |
-
title = f"{long_form_mapping[aspect.
|
154 |
g.fig.suptitle(title, x=0.5, y=1.02, fontsize=16, ha='center') # Center the title above the plot
|
155 |
|
156 |
# Get heatmap axis and customize labels
|
|
|
150 |
# Create clustermap
|
151 |
g = sns.clustermap(df, annot=True, cmap="YlGnBu", row_cluster=False, col_cluster=False, figsize=(15, 15))
|
152 |
|
153 |
+
title = f"{long_form_mapping[aspect.upper()]} Results for {metric.capitalize()}"
|
154 |
g.fig.suptitle(title, x=0.5, y=1.02, fontsize=16, ha='center') # Center the title above the plot
|
155 |
|
156 |
# Get heatmap axis and customize labels
|