Skip to content

tsview.py error in changing dates #1431

@jeffrey1102

Description

@jeffrey1102

Description of the problem

when I use tsview.py to plot my time-series and I navigate in the bar to check the variation of displacement in the various dates it doesn't change giving this error AttributeError: '_ScalarMappable' object has no attribute 'set_data'

Full script that generated the error

tsview.py timeseries_SET_tropHgt_ramo_demErr.h5 --ylim -10 10 -d ../../2015_2020/dem/demLat_N37_N39_Lon_E014_E016.dem.wgs84 --dem-blend -v -10 10

Full error message

AttributeError: '_ScalarMappable' object has no attribute 'set_data'
Traceback (most recent call last):
File "/mnt/work/miniconda3/envs/earthscope_insar/lib/python3.12/site-packages/matplotlib/cbook.py", line 361, in process
func(*args, **kwargs)
File "/mnt/work/miniconda3/envs/earthscope_insar/lib/python3.12/site-packages/mintpy/tsview.py", line 812, in update_image
self.img.set_data(data_img) # update image

System information

  • Operating system:
  • Python environment:
  • MintPy version:
  • InSAR processor/product:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions