8000 Merge pull request #13048 from timhoffm/fix-numpydoc-format · matplotlib/matplotlib@4aa2708 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4aa2708

Browse files
authored
Merge pull request #13048 from timhoffm/fix-numpydoc-format
Fix section names for numpydoc
2 parents 3826ee5 + 43ed57a commit 4aa2708

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3982,8 +3982,8 @@ def _parse_scatter_color_args(c, edgecolors, kwargs, xshape, yshape,
39823982
- kwargs['color'] (==kwcolor)
39833983
- 'face' if not in classic mode else None
39843984
3985-
Arguments
3986-
---------
3985+
Parameters
3986+
----------
39873987
c : color or sequence or sequence of color or None
39883988
See argument description of `.Axes.scatter`.
39893989
edgecolors : color or sequence of color or {'face', 'none'} or None

lib/matplotlib/backend_bases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,8 +1853,8 @@ def draw_idle(self, *args, **kwargs):
18531853
Even if multiple calls to `draw_idle` occur before control returns
18541854
to the GUI event loop, the figure will only be rendered once.
18551855
1856-
Note
1857-
----
1856+
Notes
1857+
-----
18581858
Backends may choose to override the method and implement their own
18591859
strategy to prevent multiple renderings.
18601860

lib/matplotlib/testing/decorators.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ def image_comparison(baseline_images, extensions=None, tol=0,
351351
*baseline_images*, which must correspond, else an `ImageComparisonFailure`
352352
exception will be raised.
353353
354-
Arguments
355-
---------
354+
Parameters
355+
----------
356356
baseline_images : list or None
357357
A list of strings specifying the names of the images generated by
358358
calls to :meth:`matplotlib.figure.savefig`.
@@ -429,8 +429,8 @@ def check_figures_equal(*, extensions=("png", "pdf", "svg"), tol=0):
429429
This decorator should be preferred over `image_comparison` when possible in
430430
order to keep the size of the test suite from ballooning.
431431
432-
Arguments
433-
---------
432+
Parameters
433+
----------
434434
extensions : list, default: ["png", "pdf", "svg"]
435435
The extensions to test.
436436
tol : float

0 commit comments

Comments
 (0)
0