Skip to content
GitLab
Menu
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
db83438a
Commit
db83438a
authored
Apr 17, 2020
by
Philipp Arras
Browse files
Colormap -> cmap
parent
abf56d58
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty6/plot.py
View file @
db83438a
...
...
@@ -405,7 +405,7 @@ def _plot2D(f, ax, **kwargs):
ax
.
set_ylabel
(
kwargs
.
pop
(
"ylabel"
,
""
))
dom
=
dom
[
x_space
]
if
not
have_rgb
:
cmap
=
kwargs
.
pop
(
"c
olor
map"
,
plt
.
rcParams
[
'image.cmap'
])
cmap
=
kwargs
.
pop
(
"cmap"
,
plt
.
rcParams
[
'image.cmap'
])
if
isinstance
(
dom
,
RGSpace
):
nx
,
ny
=
dom
.
shape
...
...
@@ -518,7 +518,7 @@ class Plot(object):
Label for the y axis.
[xyz]min, [xyz]max: float
Limits for the values to plot.
c
olor
map: string
cmap: string
Color map to use for the plot (if it is a 2D plot).
linewidth: float or list of floats
Line width.
...
...
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