Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cdb6b51

Browse filesBrowse files
authored
Merge pull request #19411 from Carreau/typo
DOC: fix incorrect parameter names
2 parents 3b56150 + c6328b1 commit cdb6b51
Copy full SHA for cdb6b51

File tree

Expand file treeCollapse file tree

5 files changed

+19
-17
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+19
-17
lines changed

‎lib/matplotlib/backend_bases.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backend_bases.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ def set_sketch_params(self, scale=None, length=None, randomness=None):
10751075
pixels. If scale is `None`, or not provided, no sketch filter will
10761076
be provided.
10771077
length : float, default: 128
1078-
The length of the wiggle along the line, in pixels.
1078+
The length of the wiggle along the line, in pixels.
10791079
randomness : float, default: 16
10801080
The scale factor by which the length is shrunken or expanded.
10811081
"""
@@ -3430,7 +3430,7 @@ def add_toolitem(self, name, group, position, image, description, toggle):
34303430
Name of the group that this tool belongs to.
34313431
position : int
34323432
Position of the tool within its group, if -1 it goes at the end.
3433-
image_file : str
3433+
image : str
34343434
Filename of the image for the button or `None`.
34353435
description : str
34363436
Description of the tool, used for the tooltips.

‎lib/matplotlib/backend_managers.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backend_managers.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def update_keymap(self, name, key, *args):
191191
----------
192192
name : str
193193
Name of the Tool.
194-
keys : str or list of str
194+
key : str or list of str
195195
Keys to associate with the tool.
196196
"""
197197
if name not in self._tools:

‎lib/matplotlib/collections.py

Copy file name to clipboardExpand all lines: lib/matplotlib/collections.py
+12-10Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def set_pickradius(self, pr):
421421
422422
Parameters
423423
----------
424-
d : float
424+
pr : float
425425
Pick radius, in points.
426426
"""
427427
self._pickradius = pr
@@ -703,7 +703,7 @@ def _bcast_lwls(linewidths, dashes):
703703
Returns
704704
-------
705705
linewidths, dashes : list
706-
Will be the same length, dashes are scaled by paired linewidth
706+
Will be the same length, dashes are scaled by paired linewidth
707707
"""
708708
if mpl.rcParams['_internal.classic_mode']:
709709
return linewidths, dashes
@@ -1382,15 +1382,17 @@ def __init__(self, segments, # Can be None.
13821382
antialiaseds : bool or list of bool, default: :rc:`lines.antialiased`
13831383
Whether to use antialiasing for each line.
13841384
zorder : int, default: 2
1385-
zorder of the lines once drawn.
1385+
zorder of the lines once drawn.
1386+
13861387
facecolors : color or list of color, default: 'none'
1387-
When setting *facecolors*, each line is interpreted as a boundary
1388-
for an area, implicitly closing the path from the last point to the
1389-
first point. The enclosed area is filled with *facecolor*.
1390-
In order to manually specify what should count as the "interior" of
1391-
each line, please use `.PathCollection` instead, where the
1392-
"interior" can be specified by appropriate usage of
1393-
`~.path.Path.CLOSEPOLY`.
1388+
When setting *facecolors*, each line is interpreted as a boundary
1389+
for an area, implicitly closing the path from the last point to the
1390+
first point. The enclosed area is filled with *facecolor*.
1391+
In order to manually specify what should count as the "interior" of
1392+
each line, please use `.PathCollection` instead, where the
1393+
"interior" can be specified by appropriate usage of
1394+
`~.path.Path.CLOSEPOLY`.
1395+
13941396
**kwargs
13951397
Forwareded to `.Collection`.
13961398
"""

‎lib/matplotlib/tri/triinterpolate.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tri/triinterpolate.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def _interpolate_single_key(self, return_key, tri_index, x, y):
213213
214214
Parameters
215215
----------
216-
return_index : {'z', 'dzdx', 'dzdy'}
216+
return_key : {'z', 'dzdx', 'dzdy'}
217217
Identifies the requested values (z or its derivatives)
218218
tri_index : 1D int array
219219
Valid triangle index (-1 prohibited)
@@ -461,8 +461,8 @@ def _compute_dof(self, kind, dz=None):
461461
Returns
462462
-------
463463
array-like, shape (npts, 2)
464-
Estimation of the gradient at triangulation nodes (stored as
465-
degree of freedoms of reduced-HCT triangle elements).
464+
Estimation of the gradient at triangulation nodes (stored as
465+
degree of freedoms of reduced-HCT triangle elements).
466466
"""
467467
if kind == 'user':
468468
if dz is None:

‎lib/mpl_toolkits/axisartist/axis_artist.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/axisartist/axis_artist.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ def set_axislabel_direction(self, label_direction):
759759
760760
Parameters
761761
----------
762-
tick_direction : {"+", "-"}
762+
label_direction : {"+", "-"}
763763
"""
764764
self._axislabel_add_angle = _api.check_getitem(
765765
{"+": 0, "-": 180}, label_direction=label_direction)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.