yumorishita / LiCSBAS2

GNU General Public License v3.0
27 stars 5 forks source link

LiCSBAS_plot_ts.py error: RuntimeError: x must be a sequence #66

Closed bboudhane closed 4 months ago

bboudhane commented 4 months ago

LiCSBAS_plot_ts.py ver1.14.0 20230219 Y. Morishita LiCSBAS_plot_ts.py -i TS_GEOCml1_GACOS/cum_filt.h5

Reading TS_GEOCml1_GACOS/cum_filt.h5 Reading TS_GEOCml1_GACOS/cum.h5 as 2nd Reading mask Reading mask Reading coh_avg Reading n_unw Reading vstd Reading maxTlen Reading n_gap Reading stc Reading n_ifg_noloop Reading n_loop_err Reading resid_rms Reading slc.mli Reading hgt Traceback (most recent call last): File "/home/bboudhane/softwares/tools_insar/proc_insar/LiCSBAS2/bin/LiCSBAS_plot_ts.py", line 843, in printcoords(lastevent) File "/home/bboudhane/softwares/tools_insar/proc_insar/LiCSBAS2/bin/LiCSBAS_plot_ts.py", line 734, in printcoords pax2.set_data(jj, ii) File "/home/bboudhane/softwares/mconda/miniconda3/envs/licsbas2/lib/python3.12/site-packages/matplotlib/lines.py", line 665, in set_data self.set_xdata(x) File "/home/bboudhane/softwares/mconda/miniconda3/envs/licsbas2/lib/python3.12/site-packages/matplotlib/lines.py", line 1289, in set_xdata raise RuntimeError('x must be a sequence') RuntimeError: x must be a sequence

yumorishita commented 4 months ago

Please try downgrading matplotlib.

bboudhane commented 4 months ago

its worked thank you, i downgrading matplotlib to version 3.8.4