From d3a0bec4a860ad8863d7c67baabbca3580829073 Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Thu, 5 Feb 2026 14:13:16 +0100 Subject: [PATCH] Feedback from review --- python/scripts/nvbench_plot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/scripts/nvbench_plot.py b/python/scripts/nvbench_plot.py index 8ef6086..f8a34df 100644 --- a/python/scripts/nvbench_plot.py +++ b/python/scripts/nvbench_plot.py @@ -239,8 +239,8 @@ def plot_entries(entries, title=None, output=None, dark=False): colors = [bench_colors[bench] for bench in bench_names] fig_height = max(4.0, 0.3 * len(entries) + 1.5) - style = "dark_background" if dark else None - with plt.style.context(style) if style else plt.style.context("default"): + style = "dark_background" if dark else "default" + with plt.style.context(style): fig, ax = plt.subplots(figsize=(10, fig_height)) y_pos = range(len(labels))