mgyigit commited on
Commit
8bddae0
·
verified ·
1 Parent(s): fe2782b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def draw_scatter_plot_similarity(methods_selected, x_metric, y_metric, title):
24
  filtered_df = df[df['method_name'].isin(methods_selected)]
25
 
26
  def get_method_color(method):
27
- return color_dict.get(method, 'black')
28
 
29
  # Add a new column to the dataframe for the color
30
  filtered_df['color'] = filtered_df['method_name'].apply(get_method_color)
 
24
  filtered_df = df[df['method_name'].isin(methods_selected)]
25
 
26
  def get_method_color(method):
27
+ return color_dict.get(method.upper(), 'black')
28
 
29
  # Add a new column to the dataframe for the color
30
  filtered_df['color'] = filtered_df['method_name'].apply(get_method_color)