mgyigit commited on
Commit
9c2b642
·
verified ·
1 Parent(s): 2614717

Update src/vis_utils.py

Browse files
Files changed (1) hide show
  1. src/vis_utils.py +1 -1
src/vis_utils.py CHANGED
@@ -226,7 +226,7 @@ def plot_family_results(method_names, dataset, family_path="/tmp/family_results.
226
 
227
  # Save the plot
228
  save_path = "/tmp"
229
- filename = os.path.join(save_path, f"{metric}_family_results.png")
230
  ax.get_figure().savefig(filename, dpi=400, bbox_inches='tight')
231
  plt.close() # Close the plot to free memory
232
 
 
226
 
227
  # Save the plot
228
  save_path = "/tmp"
229
+ filename = os.path.join(save_path, f"{dataset}_family_results.png")
230
  ax.get_figure().savefig(filename, dpi=400, bbox_inches='tight')
231
  plt.close() # Close the plot to free memory
232