Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with time-series plot #432

Open
SRoy07-bit opened this issue Dec 14, 2024 · 3 comments
Open

Error with time-series plot #432

SRoy07-bit opened this issue Dec 14, 2024 · 3 comments

Comments

@SRoy07-bit
Copy link

I got the following error when I wanted to view the time-series. Can you help?
LiCSBAS_plot_ts.py -i TS_GEOCml1/cum_filt.h5

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

Reading TS_GEOCml1/cum_filt.h5
Reading TS_GEOCml1/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
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/home/psaha/Zagros_data/LiCSBAS2/bin/LiCSBAS_plot_ts.py", line 843, in
printcoords(lastevent)
File "/home/psaha/Zagros_data/LiCSBAS2/bin/LiCSBAS_plot_ts.py", line 734, in printcoords
pax2.set_data(jj, ii)
File "/home/psaha/anaconda3/envs/licsbas/lib/python3.12/site-packages/matplotlib/lines.py", line 665, in set_data
self.set_xdata(x)
File "/home/psaha/anaconda3/envs/licsbas/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
Copy link
Owner

@SRoy07-bit
Copy link
Author

Hi, I see the comment says downgrade matplotlib version, but I’m already using licsbas2. In that case how do I downgrade the matplotlib version on my python 3.12?

@yumorishita
Copy link
Owner

For example, conda install matplotlib==3.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants