Commit 1869cf38 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed another numpy data type DeprecationWarning.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent f45f5867
......@@ -1264,12 +1264,13 @@ class GeoArray(object):
ax = plt.gca()
rows, cols = image2plot.shape[:2]
im = ax.imshow(image2plot.astype(,
im = ax.imshow(image2plot.astype(int),
extent=(0, cols, rows, 0),
vmax=vmax, ) # compressed excludes nodata values
) # compressed excludes nodata values
return im
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