Skip to content

Commit b51a227

Browse files
authored
Merge pull request matplotlib#25409 from oscargus/docs
Improve/correct documentation
2 parents 204ab61 + 462c1a9 commit b51a227

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

lib/matplotlib/axes/_axes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3115,7 +3115,7 @@ def pie(self, x, explode=None, labels=None, colors=None,
31153115
``fmt % pct``. If *autopct* is a function, then it will be called.
31163116
31173117
pctdistance : float, default: 0.6
3118-
The relative distance along the radius at which the the text
3118+
The relative distance along the radius at which the text
31193119
generated by *autopct* is drawn. To draw the text outside the pie,
31203120
set *pctdistance* > 1. This parameter is ignored if *autopct* is
31213121
``None``.

lib/matplotlib/patches.py

+3
Original file line numberDiff line numberDiff line change
@@ -3083,6 +3083,9 @@ class ArrowStyle(_Style):
30833083
30843084
%(ArrowStyle:table)s
30853085
3086+
For an overview of the visual appearance, see
3087+
:doc:`/gallery/text_labels_and_annotations/fancyarrow_demo`.
3088+
30863089
An instance of any arrow style class is a callable object,
30873090
whose call signature is::
30883091

lib/matplotlib/widgets.py

+6
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ def __init__(self, ax, label, image=None,
188188
useblit : bool, default: True
189189
Use blitting for faster drawing if supported by the backend.
190190
See the tutorial :doc:`/tutorials/advanced/blitting` for details.
191+
192+
.. versionadded:: 3.7
191193
"""
192194
super().__init__(ax)
193195

@@ -1029,6 +1031,8 @@ def __init__(self, ax, labels, actives=None, *, useblit=True,
10291031
useblit : bool, default: True
10301032
Use blitting for faster drawing if supported by the backend.
10311033
See the tutorial :doc:`/tutorials/advanced/blitting` for details.
1034+
1035+
.. versionadded:: 3.7
10321036
label_props : dict, optional
10331037
Dictionary of `.Text` properties to be used for the labels.
10341038
@@ -1634,6 +1638,8 @@ def __init__(self, ax, labels, active=0, activecolor=None, *,
16341638
useblit : bool, default: True
16351639
Use blitting for faster drawing if supported by the backend.
16361640
See the tutorial :doc:`/tutorials/advanced/blitting` for details.
1641+
1642+
.. versionadded:: 3.7
16371643
label_props : dict or list of dict, optional
16381644
Dictionary of `.Text` properties to be used for the labels.
16391645

lib/mpl_toolkits/mplot3d/art3d.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ def __init__(self, verts, *args, zsort='average', shade=False,
848848
849849
.. versionadded:: 3.7
850850
851-
lightsource : `~matplotlib.colors.LightSource`
851+
lightsource : `~matplotlib.colors.LightSource`, optional
852852
The lightsource to use when *shade* is True.
853853
854854
.. versionadded:: 3.7

0 commit comments

Comments
 (0)