mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 11:41:49 +02:00
fix: extreme.py init_ui changed > to >= for setting number of columns
This commit is contained in:
@ -179,7 +179,7 @@ class PlotApp(QWidget):
|
|||||||
num_plots = len(self.plot_data)
|
num_plots = len(self.plot_data)
|
||||||
|
|
||||||
# Check if num_columns exceeds the number of plots
|
# Check if num_columns exceeds the number of plots
|
||||||
if num_columns > num_plots:
|
if num_columns >= num_plots:
|
||||||
num_columns = num_plots
|
num_columns = num_plots
|
||||||
self.plot_settings["num_columns"] = num_columns # Update the settings
|
self.plot_settings["num_columns"] = num_columns # Update the settings
|
||||||
print(
|
print(
|
||||||
|
Reference in New Issue
Block a user