Spaces:
Sleeping
Sleeping
Update src/vis_utils.py
Browse files- src/vis_utils.py +0 -3
src/vis_utils.py
CHANGED
|
@@ -256,9 +256,6 @@ def plot_affinity_results(method_names, metric, affinity_path="/tmp/affinity_res
|
|
| 256 |
method = label.get_text()
|
| 257 |
label.set_color(get_method_color(method))
|
| 258 |
|
| 259 |
-
# Ensure save path exists
|
| 260 |
-
os.makedirs(save_path, exist_ok=True)
|
| 261 |
-
|
| 262 |
# Save the plot
|
| 263 |
save_path = "/tmp"
|
| 264 |
filename = os.path.join(save_path, f"{metric}_affinity_results.png")
|
|
|
|
| 256 |
method = label.get_text()
|
| 257 |
label.set_color(get_method_color(method))
|
| 258 |
|
|
|
|
|
|
|
|
|
|
| 259 |
# Save the plot
|
| 260 |
save_path = "/tmp"
|
| 261 |
filename = os.path.join(save_path, f"{metric}_affinity_results.png")
|