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

typos: s/coodinate/coordinate & s/contols/controls #2895

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
Mar 12, 2014
Merged
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
8 changes: 4 additions & 4 deletions 8 lib/matplotlib/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,7 @@ def _get_xy_transform(self, renderer, s):

s_ = s.split()
if len(s_) != 2:
raise ValueError("%s is not a recognized coodinate" % s)
raise ValueError("%s is not a recognized coordinate" % s)

bbox0, xy0 = None, None

Expand Down Expand Up @@ -1520,12 +1520,12 @@ def _get_xy_transform(self, renderer, s):
w, h = bbox0.bounds[2:]
tr = Affine2D().scale(w, h)
else:
raise ValueError("%s is not a recognized coodinate" % s)
raise ValueError("%s is not a recognized coordinate" % s)

return tr.translate(ref_x, ref_y)

else:
raise ValueError("%s is not a recognized coodinate" % s)
raise ValueError("%s is not a recognized coordinate" % s)

def _get_ref_xy(self, renderer):
"""
Expand Down Expand Up @@ -1763,7 +1763,7 @@ def __init__(self, s, xy,
:ref:`plotting-guide-annotation` for more details.


The *annotation_clip* attribute contols the visibility of the
The *annotation_clip* attribute controls the visibility of the
annotation when it goes outside the axes area. If True, the
annotation will only be drawn when the *xy* is inside the
axes. If False, the annotation will always be drawn regardless
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.