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 <danschef@gfz-potsdam.de>
parent f45f5867
......@@ -1264,12 +1264,13 @@ class GeoArray(object):
ax = plt.gca()
rows, cols = image2plot.shape[:2]
im = ax.imshow(image2plot.astype(np.int),
im = ax.imshow(image2plot.astype(int),
palette,
interpolation=interpolation,
extent=(0, cols, rows, 0),
vmin=vmin,
vmax=vmax, ) # compressed excludes nodata values
vmax=vmax
) # compressed excludes nodata values
plt.show()
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