Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Daniel Scheffler
geoarray
Commits
d33ac744
Commit
d33ac744
authored
Sep 11, 2018
by
Daniel Scheffler
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
geoarray/baseclasses.py
geoarray/baseclasses.py
+4
-2
geoarray/version.py
geoarray/version.py
+2
-2
No files found.
geoarray/baseclasses.py
View file @
d33ac744
...
...
@@ -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
):
...
...
geoarray/version.py
View file @
d33ac744
__version__
=
'0.8.
4
'
__versionalias__
=
'20180911.0
2
'
__version__
=
'0.8.
5
'
__versionalias__
=
'20180911.0
3
'
Daniel Scheffler
@danschef
mentioned in issue
#17 (closed)
·
Sep 13, 2018
mentioned in issue
#17 (closed)
mentioned in issue #17
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment