Spaces:
Sleeping
Sleeping
Update src/vis_utils.py
Browse files- src/vis_utils.py +1 -1
src/vis_utils.py
CHANGED
@@ -83,7 +83,7 @@ def plot_similarity_results(methods_selected, x_metric, y_metric, similarity_pat
|
|
83 |
# Add a new column to the dataframe for the color
|
84 |
filtered_df['color'] = filtered_df['Method'].apply(get_method_color)
|
85 |
|
86 |
-
title, x_label, y_label =
|
87 |
|
88 |
adjust_text_dict = {
|
89 |
'expand_text': (1.15, 1.4), 'expand_points': (1.15, 1.25), 'expand_objects': (1.05, 1.5),
|
|
|
83 |
# Add a new column to the dataframe for the color
|
84 |
filtered_df['color'] = filtered_df['Method'].apply(get_method_color)
|
85 |
|
86 |
+
title, x_label, y_label = get_labels_and_title(x_metric, y_metric)
|
87 |
|
88 |
adjust_text_dict = {
|
89 |
'expand_text': (1.15, 1.4), 'expand_points': (1.15, 1.25), 'expand_objects': (1.05, 1.5),
|