mgyigit commited on
Commit
dc454dd
·
verified ·
1 Parent(s): df66c51

Update src/vis_utils.py

Browse files
Files changed (1) hide show
  1. src/vis_utils.py +1 -1
src/vis_utils.py CHANGED
@@ -43,7 +43,7 @@ def draw_scatter_plot_similarity(methods_selected, x_metric, y_metric, title):
43
  mapping=p9.aes(x=x_metric, # Use the selected x_metric
44
  y=y_metric, # Use the selected y_metric
45
  color='color', # Use the dynamically generated color
46
- label='method_names')) # Label each point by the method name
47
  + p9.geom_point(size=3) # Add points with no jitter, set point size
48
  + p9.geom_text(nudge_y=0.02, size=8) # Add method names as labels, nudge slightly above the points
49
  + p9.labs(title=title, x=f"{x_metric}", y=f"{y_metric}") # Dynamic labels for X and Y axes
 
43
  mapping=p9.aes(x=x_metric, # Use the selected x_metric
44
  y=y_metric, # Use the selected y_metric
45
  color='color', # Use the dynamically generated color
46
+ label='method_name')) # Label each point by the method name
47
  + p9.geom_point(size=3) # Add points with no jitter, set point size
48
  + p9.geom_text(nudge_y=0.02, size=8) # Add method names as labels, nudge slightly above the points
49
  + p9.labs(title=title, x=f"{x_metric}", y=f"{y_metric}") # Dynamic labels for X and Y axes