Skip to content

Commit

Permalink
word 'Slice' removed
Browse files Browse the repository at this point in the history
  • Loading branch information
DanicaSTFC committed Apr 17, 2024
1 parent 5e7aac8 commit ecad4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wrappers/Python/ccpi/viewer/widgets/slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def update_label(self, value):
'''
rep = self.slider_widget.GetRepresentation()
maxval = rep.GetMaximumValue()
txt = "Slice {}/{}".format(int(value), int(maxval))
txt = "{}/{}".format(int(value), int(maxval))
rep.SetLabelFormat(txt)

def update_from_viewer(self, caller, ev):
Expand Down

0 comments on commit ecad4f0

Please sign in to comment.