Skip to content

Commit 1eb04bd

Browse files
authored
Correct docstring for plot.py (#539)
When running the latest version of the code, the example didn't run without adding these two arguments.
2 parents 66853f1 + 9fd2abd commit 1eb04bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wfdb/plot/plot.py

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ def plot_items(
238238
239239
>>> wfdb.plot_items(signal=record.p_signal,
240240
ann_samp=[ann.sample, ann.sample],
241+
fs=record.fs, sig_units=record.units,
241242
title='MIT-BIH Record 100', time_units='seconds',
242243
figsize=(10,4), ecg_grids='all')
243244

0 commit comments

Comments
 (0)