diff --git a/examples/axes_grid1/inset_locator_demo.py b/examples/axes_grid1/inset_locator_demo.py index 5fd0bc926794..56b5a8357e10 100644 --- a/examples/axes_grid1/inset_locator_demo.py +++ b/examples/axes_grid1/inset_locator_demo.py @@ -44,7 +44,7 @@ ############################################################################### -# The arguments *bbox_to_anchor* and *bbox_transfrom* can be used for a more +# The parameters *bbox_to_anchor* and *bbox_transform* can be used for a more # fine grained control over the inset position and size or even to position # the inset at completely arbitrary positions. # The *bbox_to_anchor* sets the bounding box in coordinates according to the diff --git a/examples/lines_bars_and_markers/fill.py b/examples/lines_bars_and_markers/fill.py index f254949cd212..e6d2e4293f35 100644 --- a/examples/lines_bars_and_markers/fill.py +++ b/examples/lines_bars_and_markers/fill.py @@ -20,8 +20,8 @@ def koch_snowflake(order, scale=10): """ Return two lists x, y of point coordinates of the Koch snowflake. - Arguments - --------- + Parameters + ---------- order : int The recursion depth. scale : float diff --git a/examples/mplot3d/voxels_torus.py b/examples/mplot3d/voxels_torus.py index dd21cf3af103..11b5a0b05f62 100644 --- a/examples/mplot3d/voxels_torus.py +++ b/examples/mplot3d/voxels_torus.py @@ -3,7 +3,7 @@ 3D voxel / volumetric plot with cylindrical coordinates ======================================================= -Demonstrates using the *x*, *y*, *z* arguments of `.Axes3D.voxels`. +Demonstrates using the *x*, *y*, *z* parameters of `.Axes3D.voxels`. """ import matplotlib.pyplot as plt diff --git a/lib/matplotlib/_constrained_layout.py b/lib/matplotlib/_constrained_layout.py index 90faebc1525a..6d13a850bc43 100644 --- a/lib/matplotlib/_constrained_layout.py +++ b/lib/matplotlib/_constrained_layout.py @@ -77,17 +77,16 @@ def do_constrained_layout(fig, renderer, h_pad, w_pad, Parameters ---------- fig : Figure - is the ``figure`` instance to do the layout in. + ``Figure`` instance to do the layout in. renderer : Renderer - the renderer to use. + Renderer to use. - h_pad, w_pad : float - are in figure-normalized units, and are a padding around the axes - elements. + h_pad, w_pad : float + Padding around the axes elements in figure-normalized units. - hspace, wspace : float - are in fractions of the subplot sizes. + hspace, wspace : float + Spacing in fractions of the subplot sizes. """