Skip to content

Commit

Permalink
Merge pull request #1500 from robbietuk/ProjDataVisualizationAxisLabe…
Browse files Browse the repository at this point in the history
…lFix

Remove incorrect x axis label "TOF bins"
  • Loading branch information
KrisThielemans authored Sep 3, 2024
2 parents 33a0106 + a54bc06 commit 5d12267
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ def update_display_image(self):
f"TOF bin: {self.UI_groupbox_projdata_dimensions.value(ProjDataDims.TIMING_POS)}")
ax.yaxis.set_label_text("Views/projection angle")
ax.xaxis.set_label_text("Tangential positions")
ax.xaxis.set_label_text("TOF bins")
elif self.viewgram_radio_button.isChecked():
image = self.get_viewgram_numpy_array()
ax.title.set_text(
Expand All @@ -191,7 +190,6 @@ def update_display_image(self):
f"TOF bin: {self.UI_groupbox_projdata_dimensions.value(ProjDataDims.TIMING_POS)}")
ax.yaxis.set_label_text("Axial positions")
ax.xaxis.set_label_text("Tangential positions")
ax.xaxis.set_label_text("TOF bins")
else:
msg = f"Error: No radio button is checked... How did you get here?\n"
raise Exception(msg)
Expand Down

0 comments on commit 5d12267

Please sign in to comment.