Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vasudevan, Rama K
pycroscopy
Commits
caf48b9e
Commit
caf48b9e
authored
Nov 06, 2017
by
syz
Browse files
Fixed default argument for single_img_cbar_plot
parent
85d29c25
Changes
1
Hide whitespace changes
Inline
Side-by-side
pycroscopy/viz/plot_utils.py
View file @
caf48b9e
...
...
@@ -411,7 +411,7 @@ def plot_map(axis, data, stdevs=None, origin='lower', **kwargs):
return
im
def
single_img_cbar_plot
(
axis
,
img
,
show_xy_ticks
=
Non
e
,
show_cbar
=
True
,
x_size
=
1
,
y_size
=
1
,
num_ticks
=
4
,
def
single_img_cbar_plot
(
axis
,
img
,
show_xy_ticks
=
Tru
e
,
show_cbar
=
True
,
x_size
=
1
,
y_size
=
1
,
num_ticks
=
4
,
cbar_label
=
None
,
tick_font_size
=
14
,
**
kwargs
):
"""
Plots an image within the given axis with a color bar + label and appropriate X, Y tick labels.
...
...
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