You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wfdb/plot/plot.py in
plot_items(signal, ann_samp, ann_sym, fs, time_units, sig_name,
sig_units, xlabel, ylabel, title, sig_style, ann_style, ecg_grids,
figsize, return_fig,
return_fig_axes)
129
130 if ylabel:
--> 131 if len(ylabel) != signal.shape[1]:
132 raise Exception('The length of the ylabel must be the
same as the '
133 'signal: {}
values'.format(signal.shape[1]))
AttributeError: 'NoneType' object has no attribute 'shape'
The wfdb.plot_wfdb function doesn't require a record object but if it isn't passed (and therefore there isn't a signal object), this error will occur if there is a ylabel along with an annotation object.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
This call will result in the error:
as shown here:
The wfdb.plot_wfdb function doesn't require a record object but if it isn't passed (and therefore there isn't a signal object), this error will occur if there is a ylabel along with an annotation object.
The text was updated successfully, but these errors were encountered: