Commit 42c23d81 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed 'too many values to unpack' exception in COREG_LOCAL.view_CoRegPoints().


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent dfe83982
......@@ -543,7 +543,7 @@ class COREG_LOCAL(object):
# make sure the output figure has a reasonable size, also if figsize is not given
if not figsize:
r, c = backgroundIm.shape
r, c = backgroundIm.shape[:2]
figsize = (8, r / c * 8) if r > c else (c / r * 8, 8)
# apply figsize multiplier
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment