Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vasudevan, Rama K
pycroscopy
Commits
c0326999
Commit
c0326999
authored
Jan 13, 2017
by
Somnath, Suhas
Browse files
Small bug fix to plot_loops
parent
a9d2bc1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
pycroscopy/viz/plot_utils.py
View file @
c0326999
...
@@ -309,7 +309,7 @@ def plot_loops(excit_wfm, datasets, line_colors=[], dataset_names=[], evenly_spa
...
@@ -309,7 +309,7 @@ def plot_loops(excit_wfm, datasets, line_colors=[], dataset_names=[], evenly_spa
# can be numpy array or h5py.dataset
# can be numpy array or h5py.dataset
num_pos
=
datasets
.
shape
[
0
]
num_pos
=
datasets
.
shape
[
0
]
num_points
=
datasets
.
shape
[
1
]
num_points
=
datasets
.
shape
[
1
]
datasets
=
list
(
datasets
)
datasets
=
[
datasets
]
line_colors
=
[
'b'
]
line_colors
=
[
'b'
]
dataset_names
=
[
'Default'
]
dataset_names
=
[
'Default'
]
else
:
else
:
...
...
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