From ea8b7b165342f0d906386d2ad5d1e272efa7637f Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Thu, 7 Sep 2023 14:14:37 +0200 Subject: [PATCH] Swap the plotting widgets axis order so they make sense Now it's Y vs X instead of X vs Y. --- damnit/gui/main_window.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/damnit/gui/main_window.py b/damnit/gui/main_window.py index 88d6b379..2fcc9894 100644 --- a/damnit/gui/main_window.py +++ b/damnit/gui/main_window.py @@ -790,9 +790,11 @@ def _create_view(self) -> None: self.plot._button_plot_runs.setMinimumWidth(200) plot_horizontal_layout.addStretch() - plot_horizontal_layout.addWidget(self.plot._combo_box_x_axis) - plot_horizontal_layout.addWidget(self.plot.vs_button) + plot_horizontal_layout.addWidget(QtWidgets.QLabel("Y:")) plot_horizontal_layout.addWidget(self.plot._combo_box_y_axis) + plot_horizontal_layout.addWidget(self.plot.vs_button) + plot_horizontal_layout.addWidget(QtWidgets.QLabel("X:")) + plot_horizontal_layout.addWidget(self.plot._combo_box_x_axis) plot_vertical_layout.addLayout(plot_horizontal_layout)