Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
d7a99d9f
Commit
d7a99d9f
authored
Jan 15, 2019
by
Martin Reinecke
Browse files
revert multifrequency plotting for the moment
parent
e49e6471
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/plot.py
View file @
d7a99d9f
...
...
@@ -272,11 +272,8 @@ def _plot2D(f, ax, **kwargs):
ilon
=
np
.
where
(
ilon
==
dom
.
nlon
,
0
,
ilon
)
res
[
mask
]
=
f
.
to_global_data
()[
ilat
*
dom
.
nlon
+
ilon
]
plt
.
axis
(
'off'
)
if
have_rgb
:
plt
.
imshow
(
res
,
origin
=
"lower"
)
else
:
plt
.
imshow
(
res
,
vmin
=
kwargs
.
get
(
"zmin"
),
vmax
=
kwargs
.
get
(
"zmax"
),
cmap
=
cmap
,
origin
=
"lower"
)
plt
.
imshow
(
res
,
vmin
=
kwargs
.
get
(
"zmin"
),
vmax
=
kwargs
.
get
(
"zmax"
),
cmap
=
cmap
,
origin
=
"lower"
)
plt
.
colorbar
(
orientation
=
"horizontal"
)
return
raise
ValueError
(
"Field type not(yet) supported"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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