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

Skip to content

Commit b555386

Browse files
authored
Merge pull request #22683 from oscargus/spacebeforecolon
2 parents e3c8195 + 917c7c8 commit b555386

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

lib/matplotlib/cm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def register(self, cmap, *, name=None, force=False):
172172
name : str, optional
173173
The name for the colormap. If not given, ``cmap.name`` is used.
174174
175-
force: bool, default: False
175+
force : bool, default: False
176176
If False, a ValueError is raised if trying to overwrite an already
177177
registered name. True supports overwriting registered colormaps
178178
other than the builtin colormaps.

lib/matplotlib/colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def to_hex(c, keep_alpha=False):
400400
----------
401401
c : :doc:`color </tutorials/colors/colors>` or `numpy.ma.masked`
402402
403-
keep_alpha: bool, default: False
403+
keep_alpha : bool, default: False
404404
If False, use the ``#rrggbb`` format, otherwise use ``#rrggbbaa``.
405405
406406
Returns

lib/matplotlib/figure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2330,11 +2330,11 @@ def set_layout_engine(self, layout=None, **kwargs):
23302330
23312331
Parameters
23322332
----------
2333-
layout: {'constrained', 'tight'} or `~.LayoutEngine`
2333+
layout : {'constrained', 'tight'} or `~.LayoutEngine`
23342334
'constrained' will use `~.ConstrainedLayoutEngine`, 'tight' will
23352335
use `~.TightLayoutEngine`. Users and libraries can define their
23362336
own layout engines as well.
2337-
kwargs: dict
2337+
kwargs : dict
23382338
The keyword arguments are passed to the layout engine to set things
23392339
like padding and margin sizes. Only used if *layout* is a string.
23402340
"""

lib/matplotlib/patches.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,13 +1394,13 @@ def set_data(self, *, x=None, y=None, dx=None, dy=None, width=None,
13941394
dx, dy : float or None, default: None
13951395
The length of the arrow along x and y direction.
13961396
1397-
width: float or None, default: None
1397+
width : float or None, default: None
13981398
Width of full arrow tail.
13991399
1400-
head_width: float or None, default: None
1400+
head_width : float or None, default: None
14011401
Total width of the full arrow head.
14021402
1403-
head_length: float or None, default: None
1403+
head_length : float or None, default: None
14041404
Length of arrow head.
14051405
"""
14061406
if x is not None:

lib/matplotlib/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ class MultiCursor(Widget):
16911691
horizOn : bool, default: False
16921692
Whether to draw the horizontal line.
16931693
1694-
vertOn: bool, default: True
1694+
vertOn : bool, default: True
16951695
Whether to draw the vertical line.
16961696
16971697
Other Parameters

0 commit comments

Comments
 (0)