Skip to content

Commit 3771804

Browse files
authored
Merge pull request #58 from falkamelung/matplotlib_fix
find_short_baselines.py: matplotlib backend fix
2 parents eb9cab2 + 5fb1321 commit 3771804

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

miaplpy/find_short_baselines.py

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def plot_baselines(ind1, ind2, dates=None, baselines=None, out_dir=None, baselin
153153
str(baselines[dates[h]]), str(baselines[dates[g]] - baselines[dates[h]]))
154154
for g, h in zip(ind1, ind2)]
155155

156+
plt.switch_backend('Agg')
156157
fig = plt.figure(figsize=(8, 4))
157158

158159
for d in ifgdates:

0 commit comments

Comments
 (0)