diff --git a/runviewer/__main__.py b/runviewer/__main__.py index 849bb8b..1bee03a 100644 --- a/runviewer/__main__.py +++ b/runviewer/__main__.py @@ -562,9 +562,9 @@ def _update_non_linear_time(self, changed_shot=False, new_scalehandler=None): last_time = t if shot is not None and self.scale_time: - self._time_axis_plot[0].getAxis("bottom").setTicks([[[0, 0], [shot.stop_time, shot.stop_time]]]) + self._time_axis_plot[0].getAxis("bottom").setTicks([[[0, str(0)], [shot.stop_time, str(shot.stop_time)]]]) for plot in self.plot_widgets.values(): - plot.getAxis("bottom").setTicks([[[0, 0], [shot.stop_time, shot.stop_time]]]) + plot.getAxis("bottom").setTicks([[[0, str(0)], [shot.stop_time, str(shot.stop_time)]]]) else: self._time_axis_plot[0].getAxis("bottom").setTicks(None) for plot in self.plot_widgets.values():