From 6c773c7c94e5eee700b74a792657978be86dbbf4 Mon Sep 17 00:00:00 2001 From: wyzula-jan <133381102+wyzula-jan@users.noreply.github.com> Date: Tue, 3 Oct 2023 10:38:24 +0200 Subject: [PATCH] fix: extreme.py init_ui changed > to >= for setting number of columns --- bec_widgets/examples/extreme/extreme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bec_widgets/examples/extreme/extreme.py b/bec_widgets/examples/extreme/extreme.py index c41793ef..f4ad050b 100644 --- a/bec_widgets/examples/extreme/extreme.py +++ b/bec_widgets/examples/extreme/extreme.py @@ -179,7 +179,7 @@ class PlotApp(QWidget): num_plots = len(self.plot_data) # Check if num_columns exceeds the number of plots - if num_columns > num_plots: + if num_columns >= num_plots: num_columns = num_plots self.plot_settings["num_columns"] = num_columns # Update the settings print(