Skip to content

Commit 332f828

Browse files
author
Vivek Gopalakrishnan
authored
Fix docstring formatting
1 parent 3f52669 commit 332f828

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

wfdb/plot/plot.py

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,10 @@ def plot_items(signal=None, ann_samp=None, ann_sym=None, fs=None,
7979
also be set to 'all' for all channels. Major grids at 0.5mV, and minor
8080
grids at 0.125mV. All channels to be plotted with grids must have
8181
`sig_units` equal to 'uV', 'mV', or 'V'.
82-
sharex, sharey : bool or {'none', 'all', 'row', 'col'}, default: False
83-
Controls sharing of properties among x (`sharex`) or y (`sharey`) axes:
84-
True or 'all': x- or y-axis will be shared among all subplots.
85-
False or 'none': each subplot x- or y-axis will be independent.
86-
'row': each subplot row will share an x- or y-axis.
87-
'col': each subplot column will share an x- or y-axis.
82+
sharex, sharey : bool, optional
83+
Controls sharing of properties among x (`sharex`) or y (`sharey`) axes.
84+
If True: x- or y-axis will be shared among all subplots.
85+
If False, each subplot x- or y-axis will be independent.
8886
figsize : tuple, optional
8987
Tuple pair specifying the width, and height of the figure. It is the
9088
'figsize' argument passed into matplotlib.pyplot's `figure` function.
@@ -217,12 +215,10 @@ def create_figure(n_subplots, sharex, sharey, figsize):
217215
The number of subplots to generate.
218216
figsize : tuple
219217
The figure's width, height in inches.
220-
sharex, sharey : bool or {'none', 'all', 'row', 'col'}, default: False
221-
Controls sharing of properties among x (`sharex`) or y (`sharey`) axes:
222-
True or 'all': x- or y-axis will be shared among all subplots.
223-
False or 'none': each subplot x- or y-axis will be independent.
224-
'row': each subplot row will share an x- or y-axis.
225-
'col': each subplot column will share an x- or y-axis.
218+
sharex, sharey : bool, optional
219+
Controls sharing of properties among x (`sharex`) or y (`sharey`) axes.
220+
If True: x- or y-axis will be shared among all subplots.
221+
If False, each subplot x- or y-axis will be independent.
226222
227223
Returns
228224
-------

0 commit comments

Comments
 (0)