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

Skip to content

Commit 2f5ef82

Browse files
authored
Merge pull request #17889 from DangoMelon/minor_naming_docstring_fixes
Minor doc fixes
2 parents ec0132f + 3e5ef86 commit 2f5ef82

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

examples/axes_grid1/inset_locator_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545

4646
###############################################################################
47-
# The arguments *bbox_to_anchor* and *bbox_transfrom* can be used for a more
47+
# The parameters *bbox_to_anchor* and *bbox_transform* can be used for a more
4848
# fine grained control over the inset position and size or even to position
4949
# the inset at completely arbitrary positions.
5050
# The *bbox_to_anchor* sets the bounding box in coordinates according to the

examples/lines_bars_and_markers/fill.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ def koch_snowflake(order, scale=10):
2020
"""
2121
Return two lists x, y of point coordinates of the Koch snowflake.
2222
23-
Arguments
24-
---------
23+
Parameters
24+
----------
2525
order : int
2626
The recursion depth.
2727
scale : float

examples/mplot3d/voxels_torus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
3D voxel / volumetric plot with cylindrical coordinates
44
=======================================================
55
6-
Demonstrates using the *x*, *y*, *z* arguments of `.Axes3D.voxels`.
6+
Demonstrates using the *x*, *y*, *z* parameters of `.Axes3D.voxels`.
77
"""
88

99
import matplotlib.pyplot as plt

lib/matplotlib/_constrained_layout.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,16 @@ def do_constrained_layout(fig, renderer, h_pad, w_pad,
7777
Parameters
7878
----------
7979
fig : Figure
80-
is the ``figure`` instance to do the layout in.
80+
``Figure`` instance to do the layout in.
8181
8282
renderer : Renderer
83-
the renderer to use.
83+
Renderer to use.
8484
85-
h_pad, w_pad : float
86-
are in figure-normalized units, and are a padding around the axes
87-
elements.
85+
h_pad, w_pad : float
86+
Padding around the axes elements in figure-normalized units.
8887
89-
hspace, wspace : float
90-
are in fractions of the subplot sizes.
88+
hspace, wspace : float
89+
Spacing in fractions of the subplot sizes.
9190
9291
"""
9392

0 commit comments

Comments
 (0)