BenchmarkBot commited on
Commit
8985298
β€’
1 Parent(s): bc92145

extend plot and put legend to the right

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -84,15 +84,15 @@ def get_benchmark_plot(bench_df):
84
  xaxis_title="Per 1000 Tokens Latency (s)",
85
  yaxis_title="Average Open LLM Score",
86
  legend_title="Model Type and Backend",
87
- width=1000,
88
  height=600,
89
- legend=dict(
90
- orientation="h",
91
- yanchor="bottom",
92
- y=-0.35,
93
- xanchor="center",
94
- x=0.5
95
- )
96
  )
97
 
98
  fig.update_traces(
 
84
  xaxis_title="Per 1000 Tokens Latency (s)",
85
  yaxis_title="Average Open LLM Score",
86
  legend_title="Model Type and Backend",
87
+ width=1200,
88
  height=600,
89
+ # legend=dict(
90
+ # orientation="h",
91
+ # yanchor="bottom",
92
+ # y=-0.35,
93
+ # xanchor="center",
94
+ # x=0.5
95
+ # )
96
  )
97
 
98
  fig.update_traces(