mgyigit commited on
Commit
b8fb55c
·
verified ·
1 Parent(s): 1224c55

Update app.py

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