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

Skip to content

Minor doc fixes #17889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/axes_grid1/inset_locator_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/lines_bars_and_markers/fill.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/mplot3d/voxels_torus.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 6 additions & 7 deletions lib/matplotlib/_constrained_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

"""

Expand Down