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

Skip to content

Commit 11bd5c5

Browse files
committed
Fix invalid NumPyDoc headings.
1 parent 2a7237c commit 11bd5c5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,8 +1157,8 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
11571157
array-like is given, it must have the same length as *positions*, and
11581158
each value will be applied to the corresponding row of the array.
11591159
1160-
Example
1161-
-------
1160+
Examples
1161+
--------
11621162
11631163
.. plot:: mpl_examples/pylab_examples/eventplot_demo.py
11641164
"""

lib/matplotlib/collections.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,8 +1300,8 @@ def __init__(self,
13001300
:class:`~matplotlib.collections.LineCollection` for a list of
13011301
the valid properties.
13021302
1303-
Example
1304-
-------
1303+
Examples
1304+
--------
13051305
13061306
.. plot:: mpl_examples/pylab_examples/eventcollection_demo.py
13071307
"""

lib/matplotlib/testing/compare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,8 @@ def compare_images(expected, actual, tol, in_decorator=False):
398398
If called from image_comparison decorator, this should be
399399
True. (default=False)
400400
401-
Example
402-
-------
401+
Examples
402+
--------
403403
img1 = "./baseline/plot.png"
404404
img2 = "./output/plot.png"
405405
compare_images( img1, img2, 0.001 ):

0 commit comments

Comments
 (0)