Skip to content

Commit

Permalink
Swap the plotting widgets axis order so they make sense
Browse files Browse the repository at this point in the history
Now it's Y vs X instead of X vs Y.
  • Loading branch information
JamesWrigley committed Sep 7, 2023
1 parent 0d96d77 commit ea8b7b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions damnit/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ea8b7b1

Please sign in to comment.