Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a39b10b

Browse files
committed
Fix docstring of violin{,plot} for return value.
See #5497.
1 parent d948faf commit a39b10b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7274,27 +7274,27 @@ def violinplot(self, dataset, positions=None, vert=True, widths=0.5,
72747274
:class:`matplotlib.collections.PolyCollection` instances
72757275
containing the filled area of each violin.
72767276
7277-
- ``means``: A
7277+
- ``cmeans``: A
72787278
:class:`matplotlib.collections.LineCollection` instance
72797279
created to identify the mean values of each of the
72807280
violin's distribution.
72817281
7282-
- ``mins``: A
7282+
- ``cmins``: A
72837283
:class:`matplotlib.collections.LineCollection` instance
72847284
created to identify the bottom of each violin's
72857285
distribution.
72867286
7287-
- ``maxes``: A
7287+
- ``cmaxes``: A
72887288
:class:`matplotlib.collections.LineCollection` instance
72897289
created to identify the top of each violin's
72907290
distribution.
72917291
7292-
- ``bars``: A
7292+
- ``cbars``: A
72937293
:class:`matplotlib.collections.LineCollection` instance
72947294
created to identify the centers of each violin's
72957295
distribution.
72967296
7297-
- ``medians``: A
7297+
- ``cmedians``: A
72987298
:class:`matplotlib.collections.LineCollection` instance
72997299
created to identify the median values of each of the
73007300
violin's distribution.
@@ -7380,27 +7380,27 @@ def violin(self, vpstats, positions=None, vert=True, widths=0.5,
73807380
:class:`matplotlib.collections.PolyCollection` instances
73817381
containing the filled area of each violin.
73827382
7383-
- ``means``: A
7383+
- ``cmeans``: A
73847384
:class:`matplotlib.collections.LineCollection` instance
73857385
created to identify the mean values of each of the
73867386
violin's distribution.
73877387
7388-
- ``mins``: A
7388+
- ``cmins``: A
73897389
:class:`matplotlib.collections.LineCollection` instance
73907390
created to identify the bottom of each violin's
73917391
distribution.
73927392
7393-
- ``maxes``: A
7393+
- ``cmaxes``: A
73947394
:class:`matplotlib.collections.LineCollection` instance
73957395
created to identify the top of each violin's
73967396
distribution.
73977397
7398-
- ``bars``: A
7398+
- ``cbars``: A
73997399
:class:`matplotlib.collections.LineCollection` instance
74007400
created to identify the centers of each violin's
74017401
distribution.
74027402
7403-
- ``medians``: A
7403+
- ``cmedians``: A
74047404
:class:`matplotlib.collections.LineCollection` instance
74057405
created to identify the median values of each of the
74067406
violin's distribution.

0 commit comments

Comments
 (0)