diff --git a/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py b/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py index 486ae6f4337072dd85b56adeea2315f33db3043f..05d682bb734fad4a61e40248b799f5b7633e2845 100644 --- a/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py +++ b/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py @@ -180,8 +180,7 @@ class MultiThreadedPlottingWidget(PlottingWidget): continue channel_processor = PlottingChannelProcessor( plotting_data[chan_id], chan_id, - self.min_x, self.max_x, - True + self.min_x, self.max_x ) self.data_processors.append(channel_processor) channel_processor.finished.connect(self.process_channel) diff --git a/sohstationviewer/view/plotting/plotting_widget/plotting_processor.py b/sohstationviewer/view/plotting/plotting_widget/plotting_processor.py index 291201ada327ea9e12ab8ec2598e00157d86374e..07807419d77a312b00a35fa9f3ebe166e3bbf2eb 100644 --- a/sohstationviewer/view/plotting/plotting_widget/plotting_processor.py +++ b/sohstationviewer/view/plotting/plotting_widget/plotting_processor.py @@ -15,8 +15,7 @@ class PlottingChannelProcessor(QtCore.QRunnable): The class that handles trimming excess data and interfacing with a downsampler for a plotting channel. """ - def __init__(self, channel_data, channel_id, start_time, end_time, - first_time): + def __init__(self, channel_data, channel_id, start_time, end_time): super().__init__() self.signals = PlottingChannelProcessorSignals() # Aliasing the signals for ease of use @@ -30,7 +29,6 @@ class PlottingChannelProcessor(QtCore.QRunnable): self.start_time = start_time self.end_time = end_time - self.first_time = first_time def run(self): """