Skip to content

Commit

Permalink
allow unit change when viewing seasonality
Browse files Browse the repository at this point in the history
  • Loading branch information
bbuzz31 committed Sep 7, 2023
1 parent 7ff149b commit 79d5ef1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mintpy/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,9 @@ def read_data4figure(i_start, i_end, inps, metadata):
or inps.key in ['timeseries', 'inversion']
or all(d in inps.dsetFamilyList for d in ['horizontal', 'vertical'])
or inps.dsetFamilyList == ['data','model','residual']
or inps.dsetFamilyList == [f'band{i+1}' for i in range(len(inps.dsetFamilyList))]):
or inps.dsetFamilyList == [f'band{i+1}' for i in range(len(inps.dsetFamilyList))]
or all(d in inps.dsetFamilyList for d in ['annualAmplitude', 'semiAnnualAmplitude'])
or all(d in inps.dsetFamilyList for d in ['annualPhase', 'semiAnnualPhase'])):
same_unit4all_subplots = True
else:
same_unit4all_subplots = False
Expand Down

0 comments on commit 79d5ef1

Please sign in to comment.