Skip to content

Commit 8a7486e

Browse files
author
Benjamin Moody
committed
wfdb.plot.plot: rename calc_ecg_grids to _calc_ecg_grids.
This function is not in the wfdb module, is not listed in the documentation, and shouldn't be used by applications directly.
1 parent 17aa2b0 commit 8a7486e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wfdb/plot/plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def _plot_ecg_grids(ecg_grids, fs, units, time_units, axes, sampling_freq=None):
668668
minor_ticks_x,
669669
major_ticks_y,
670670
minor_ticks_y,
671-
) = calc_ecg_grids(
671+
) = _calc_ecg_grids(
672672
auto_ylims[0],
673673
auto_ylims[1],
674674
units[ch],
@@ -702,7 +702,7 @@ def _plot_ecg_grids(ecg_grids, fs, units, time_units, axes, sampling_freq=None):
702702
axes[ch].set_ylim(auto_ylims)
703703

704704

705-
def calc_ecg_grids(minsig, maxsig, sig_units, fs, maxt, time_units):
705+
def _calc_ecg_grids(minsig, maxsig, sig_units, fs, maxt, time_units):
706706
"""
707707
Calculate tick intervals for ECG grids.
708708

0 commit comments

Comments
 (0)