Commit c4f19a4b authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed incorrect data type downcast in GeoArray.show() which caused binary...


Fixed incorrect data type downcast in GeoArray.show() which caused binary images, e.g. for NDVI images. Bumped version.
Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 93045331
Pipeline #25510 passed with stages
in 2 minutes and 19 seconds
......@@ -2,6 +2,12 @@
History
=======
0.13.3 (2021-07-12)
-------------------
* Fixed incorrect data type downcast in GeoArray.show() which caused binary images, e.g. for NDVI images.
0.13.2 (2021-07-09)
-------------------
......
......@@ -1301,7 +1301,7 @@ class GeoArray(object):
ax = plt.gca()
rows, cols = image2plot.shape[:2]
im = ax.imshow(image2plot.astype(int),
im = ax.imshow(image2plot,
palette,
interpolation=interpolation,
extent=(0, cols, rows, 0),
......
......@@ -20,5 +20,5 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '0.13.2'
__versionalias__ = '20210709.02'
__version__ = '0.13.3'
__versionalias__ = '20210712.01'
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