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

Skip to content

Typo fixes. [backport to doc branch] #3650

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 1 commit into from
Oct 16, 2014
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 lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def annotate(self, *args, **kwargs):
position of the label `s`

xycoords : string, optional, default: "data"
string that indicates what tye of coordinates `xy` is. Examples:
string that indicates what type of coordinates `xy` is. Examples:
"figure points", "figure pixels", "figure fraction", "axes
points", .... See `matplotlib.text.Annotation` for more details.

Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1991,7 +1991,7 @@ def _get_pixel_distance_along_axis(self, where, perturb):
"""
Returns the amount, in data coordinates, that a single pixel
corresponds to in the locality given by *where*, which is also given
in data coordinates, and is an y coordinate.
in data coordinates, and is a y coordinate.

*perturb* is the amount to perturb the pixel. Usually +0.5 or -0.5.

Expand Down
12 changes: 6 additions & 6 deletions lib/mpl_toolkits/axes_grid1/axes_divider.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""
The axes_divider module provide helper classes to adjust the positions of
multiple axes at the drawing time.
The axes_divider module provides helper classes to adjust the positions of
multiple axes at drawing time.

Divider: this is the class that is used calculates the axes
Divider: this is the class that is used to calculate the axes
position. It divides the given rectangular area into several sub
rectangles. You initialize the divider by setting the horizontal
and vertical list of sizes that the division will be based on. You
and vertical lists of sizes that the division will be based on. You
then use the new_locator method, whose return value is a callable
object that can be used to set the axes_locator of the axes.

Expand All @@ -31,7 +31,7 @@ class Divider(object):
horizontal and vertical lists of sizes
(:mod:`mpl_toolkits.axes_grid.axes_size`) that the division will
be based on. You then use the new_locator method to create a
callable object that can be used to as the axes_locator of the
callable object that can be used as the axes_locator of the
axes.
"""

Expand All @@ -49,7 +49,7 @@ def __init__(self, fig, pos, horizontal, vertical,
for vertical division
:param aspect: if True, the overall rectangular area is reduced
so that the relative part of the horizontal and
vertical scales have same scale.
vertical scales have the same scale.
:param anchor: Determine how the reduced rectangle is placed
when aspect is True.
"""
Expand Down