zhuohan-7 commited on
Commit
1fa71e4
1 Parent(s): 36e6ec3

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app/draw_diagram.py +1 -1
app/draw_diagram.py CHANGED
@@ -52,7 +52,7 @@ def draw(folder_name, category_name, dataset_name, metrics):
52
  if len(chart_data) == 0:
53
  return
54
 
55
- min_value = round(chart_data.iloc[:, 1::].min().min() - 0.1*int(chart_data.iloc[:, 1::].min().min(), 1)
56
  max_value = round(chart_data.iloc[:, 1::].max().max() + 0.1*chart_data.iloc[:, 1::].max().max(), 1)
57
 
58
  options = {
 
52
  if len(chart_data) == 0:
53
  return
54
 
55
+ min_value = round(chart_data.iloc[:, 1::].min().min() - 0.1*chart_data.iloc[:, 1::].min().min(), 1)
56
  max_value = round(chart_data.iloc[:, 1::].max().max() + 0.1*chart_data.iloc[:, 1::].max().max(), 1)
57
 
58
  options = {