0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

fix: extreme.py init_ui changed > to >= for setting number of columns

This commit is contained in:
wyzula-jan
2023-10-03 10:38:24 +02:00
parent c525eba885
commit 6c773c7c94

View File

@ -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(