Commit c0326999 authored by Somnath, Suhas's avatar Somnath, Suhas
Browse files

Small bug fix to plot_loops

parent a9d2bc1f
...@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment