Error in set_axis_info when plotting gap bar
Can't plot SOH data due to error: Traceback (most recent call last): File "/Users/ldam/Documents/GIT/sohstationviewer/sohstationviewer/view/main_window.py", line 819, in replot_loaded_data self.plotting_widget.plot_channels( File "/Users/ldam/Documents/GIT/sohstationviewer/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py", line 198, in plot_channels ret = self.init_plot(d_obj, key, start_tm, end_tm, File "/Users/ldam/Documents/GIT/sohstationviewer/sohstationviewer/view/plotting/state_of_health_widget.py", line 44, in init_plot ret = super().init_plot(d_obj, data_time, key, start_tm, end_tm, File "/Users/ldam/Documents/GIT/sohstationviewer/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py", line 107, in init_plot self.plotting_axes.add_gap_bar(d_obj.gaps[key]) File "/Users/ldam/Documents/GIT/sohstationviewer/sohstationviewer/view/plotting/plotting_widget/plotting_axes.py", line 346, in add_gap_bar self.set_axes_info(self.parent.gap_bar, [len(gaps)], TypeError: set_axes_info() missing 2 required positional arguments: 'sample_no_colors' and 'sample_no_pos'
Error happened because the call to set_axes_info not changed when the function's declaration changed.
Edited by Lan Dam