steffenc commited on
Commit
27f17e9
·
1 Parent(s): 6d05e40

Fix bar chart

Browse files
Files changed (1) hide show
  1. opendashboards/utils/plotting.py +1 -1
opendashboards/utils/plotting.py CHANGED
@@ -251,7 +251,7 @@ def plot_leaderboard(
251
 
252
  print(f"Using top {ntop} {group_on} by {agg_col}: \n{rankings}")
253
  return px.bar(
254
- x=rankings,
255
  y=index,
256
  color=rankings,
257
  orientation="h",
 
251
 
252
  print(f"Using top {ntop} {group_on} by {agg_col}: \n{rankings}")
253
  return px.bar(
254
+ x=rankings.astype(float),
255
  y=index,
256
  color=rankings,
257
  orientation="h",