diff --git a/geoarray/baseclasses.py b/geoarray/baseclasses.py index 2d11c3bf4d0270efa32ab0f651c82ee3fb043417..9b6e369ff06c58e87faa32986faec2e11047d070 100644 --- a/geoarray/baseclasses.py +++ b/geoarray/baseclasses.py @@ -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