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

Skip to content

Commit 2cd9e0a

Browse files
tacaswelltobias47n9e
authored andcommitted
DOC : fixed section titles
Parameter -> Parameters Example -> Examples
1 parent 54f225f commit 2cd9e0a

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2622,8 +2622,8 @@ def get_xticklabels(self, minor=False, which=None):
26222622
Get the x tick labels as a list of :class:`~matplotlib.text.Text`
26232623
instances.
26242624
2625-
Parameter
2626-
---------
2625+
Parameters
2626+
----------
26272627
minor : bool
26282628
If True return the minor ticklabels,
26292629
else return the major ticklabels
@@ -2875,8 +2875,8 @@ def get_yticklabels(self, minor=False, which=None):
28752875
Get the x tick labels as a list of :class:`~matplotlib.text.Text`
28762876
instances.
28772877
2878-
Parameter
2879-
---------
2878+
Parameters
2879+
----------
28802880
minor : bool
28812881
If True return the minor ticklabels,
28822882
else return the major ticklabels

lib/matplotlib/axis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,8 +1171,8 @@ def get_ticklabels(self, minor=False, which=None):
11711171
Get the x tick labels as a list of :class:`~matplotlib.text.Text`
11721172
instances.
11731173
1174-
Parameter
1175-
---------
1174+
Parameters
1175+
----------
11761176
minor : bool
11771177
If True return the minor ticklabels,
11781178
else return the major ticklabels

lib/matplotlib/cbook.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ def new_function():
120120
obj_type : str, optional
121121
The object type being deprecated.
122122
123-
Example
124-
-------
123+
Examples
124+
--------
125125
# To warn of the deprecation of "matplotlib.name_of_module"
126126
warn_deprecated('1.4.0', name='matplotlib.name_of_module',
127127
obj_type='module')
@@ -172,8 +172,8 @@ def new_function():
172172
If True, uses a PendingDeprecationWarning instead of a
173173
DeprecationWarning.
174174
175-
Example
176-
-------
175+
Examples
176+
--------
177177
@deprecated('1.4.0')
178178
def the_function_to_deprecate():
179179
pass

0 commit comments

Comments
 (0)