Commit c249500e authored by Daniel Scheffler's avatar Daniel Scheffler

Bugfix.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 3cfd9a28
Pipeline #3964 passed with stages
in 1 minute and 43 seconds
......@@ -1064,7 +1064,7 @@ class GeoArray(object):
image2plot = image2plot.astype(np.int32)
# rotated images always have to be resampled for plotting
if not ignore_rotation and gt[2] or gt[4]:
if not ignore_rotation and (gt[2] or gt[4]):
out_prj = out_prj or self.projection
if res_factor != 1. and image2plot.shape[0] * image2plot.shape[1] > 1e6: # shape > 1000*1000
......
Markdown is supported
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