Commit 3462bf4a authored by Daniel Scheffler's avatar Daniel Scheffler

Fixed a bug in GeoArray.show()

updated __version__ and __versionalias__
parent 518269de
Welcome to GeoArray's documentation!
======================================
====================================
Contents:
.. toctree::
:maxdepth: 2
:maxdepth: 4
readme
installation
......
......@@ -2,8 +2,8 @@
__author__ = """Daniel Scheffler"""
__email__ = 'danschef@gfz-potsdam.de'
__version__ = '0.2.1'
__versionalias__ = 'v20170529.02'
__version__ = '0.2.2'
__versionalias__ = 'v20170529.03'
from .baseclasses import GeoArray
......
......@@ -873,8 +873,8 @@ class GeoArray(object):
image2plot, gt, prj = self.get_mapPos(boundsMap, boundsMapPrj, band2get=band,
fillVal=nodataVal if nodataVal is not None else self.nodata)
else:
cS, cE = xlim if isinstance(xlim, (tuple, list)) else (0, self.columns - 1)
rS, rE = ylim if isinstance(ylim, (tuple, list)) else (0, self.rows - 1)
cS, cE = xlim if isinstance(xlim, (tuple, list)) else (0, self.columns)
rS, rE = ylim if isinstance(ylim, (tuple, list)) else (0, self.rows)
image2plot = self[rS:rE, cS:cE, band] if band is not None else self[rS:rE, cS:cE]
gt, prj = self.geotransform, self.projection
......
......@@ -20,7 +20,7 @@ test_requirements = [
setup(
name='geoarray',
version='0.2.1',
version='0.2.2',
description="Fast Python interface for geodata - either on disk or in memory.",
long_description=readme + '\n\n' + history,
author="Daniel Scheffler",
......
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