Commit d33ac744 authored by Daniel Scheffler's avatar Daniel Scheffler

GeoArray.show() now returns the matplotlib object in non-interactive mode. Updated version info.

parent 92abcfd4
Pipeline #3196 passed with stages
in 1 minute and 39 seconds
......@@ -1118,10 +1118,12 @@ class GeoArray(object):
ax = plt.gca()
rows, cols = image2plot.shape[:2]
ax.imshow(image2plot, palette, interpolation=interpolation, extent=(0, cols, rows, 0),
vmin=vmin, vmax=vmax, ) # compressed excludes nodata values
im = ax.imshow(image2plot, palette, interpolation=interpolation, extent=(0, cols, rows, 0),
vmin=vmin, vmax=vmax, ) # compressed excludes nodata values
plt.show()
return im
def show_map(self, xlim=None, ylim=None, band=0, boundsMap=None, boundsMapPrj=None, ax=None, figsize=None,
interpolation='none', vmin=None, vmax=None, cmap=None, nodataVal=None, res_factor=None,
return_map=False, zoomable=False):
......
__version__ = '0.8.4'
__versionalias__ = '20180911.02'
__version__ = '0.8.5'
__versionalias__ = '20180911.03'
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