From 85e2279dfd3fa735b253a6f284aeca808e8ad649 Mon Sep 17 00:00:00 2001 From: Stonepia Date: Tue, 13 May 2025 14:43:09 +0800 Subject: [PATCH] Fix errorbar in benchmarks_visualizer.py The default errorbar is None, which would lead to "TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'". We don't override the errorbar and let seaborn decide the width. --- benchmark/benchmarks_visualizer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/benchmark/benchmarks_visualizer.py b/benchmark/benchmarks_visualizer.py index 92a90509a..f6e31c751 100644 --- a/benchmark/benchmarks_visualizer.py +++ b/benchmark/benchmarks_visualizer.py @@ -116,7 +116,6 @@ def plot_data(df: pd.DataFrame, config: VisualizationsConfig): hue="kernel_provider", marker="o", palette="tab10", - errorbar=("ci", None), ) # Seaborn can't plot pre-computed error bars, so we need to do it manually