Matplotlib 3.9.0 breaks TPS plot
When the matplotlib version currently installed is 3.9.0, the TPS dialog crashes. The accompanying error message is
Traceback (most recent call last):
File "~/sohstationviewer/sohstationviewer/view/plotting/time_power_square/time_power_squared_widget.py", line 265, in channel_done
self.clean_up(chan_id)
File "~/sohstationviewer/sohstationviewer/view/plotting/time_power_square/time_power_squared_widget.py", line 284, in clean_up
self.done()
File "~/sohstationviewer/sohstationviewer/view/plotting/time_power_square/time_power_squared_widget.py", line 299, in done
self.set_lim_markers()
File "~/sohstationviewer/sohstationviewer/view/plotting/time_power_square/time_power_squared_widget.py", line 599, in set_lim_markers
zm1.set_data(five_minute_idx, - day_idx)
File "~miniconda3/envs/numpy-test/lib/python3.9/site-packages/matplotlib/lines.py", line 665, in set_data
self.set_xdata(x)
File "~/miniconda3/envs/numpy-test/lib/python3.9/site-packages/matplotlib/lines.py", line 1289, in set_xdata
raise RuntimeError('x must be a sequence')
RuntimeError: x must be a sequence