Skip to content

Commit 56f9ce0

Browse files
timhoffmdstansby
andauthored
Apply suggestions from code review
Co-authored-by: David Stansby <dstansby@gmail.com>
1 parent 1d3769c commit 56f9ce0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/matplotlib/axes/_axes.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -8214,18 +8214,18 @@ def violinplot(self, dataset, positions=None, vert=True, widths=0.5,
82148214
Otherwise, creates a horizontal violin plot.
82158215
82168216
widths : float or array-like, default: 0.5
8217-
The maximal width of each violin in units of the *positions* axis.
8218-
The default is 0.5, which is half available space when using default
8217+
The maximum width of each violin in units of the *positions* axis.
8218+
The default is 0.5, which is half the available space when using default
82198219
*positions*.
82208220
82218221
showmeans : bool, default: False
8222-
Whether to indicate the mean with a line.
8222+
Whether to show the mean with a line.
82238223
82248224
showextrema : bool, default: True
8225-
Whether to indicate the extrema with a line.
8225+
Whether to show extrema with a line.
82268226
82278227
showmedians : bool, default: False
8228-
Whether to indicate the median with a line.
8228+
Whether to show the median with a line.
82298229
82308230
quantiles : array-like, default: None
82318231
If not None, set a list of floats in interval [0, 1] for each violin,
@@ -8336,18 +8336,18 @@ def violin(self, vpstats, positions=None, vert=True, widths=0.5,
83368336
Otherwise, plots the violins horizontally.
83378337
83388338
widths : float or array-like, default: 0.5
8339-
The maximal width of each violin in units of the *positions* axis.
8339+
The maximum width of each violin in units of the *positions* axis.
83408340
The default is 0.5, which is half available space when using default
83418341
*positions*.
83428342
83438343
showmeans : bool, default: False
8344-
Whether to indicate the mean with a line.
8344+
Whether to show the mean with a line.
83458345
83468346
showextrema : bool, default: True
8347-
Whether to indicate the extrema with a line.
8347+
Whether to show extrema with a line.
83488348
83498349
showmedians : bool, default: False
8350-
Whether to indicate the median with a line.
8350+
Whether to show the median with a line.
83518351
83528352
Returns
83538353
-------

0 commit comments

Comments
 (0)