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

Commit 37dc468

Browse filesBrowse files
committed
Merge pull request matplotlib#2895 from matthieucan/typos
typos: s/coodinate/coordinate & s/contols/controls
2 parents 3563cb5 + 6ea2b9e commit 37dc468
Copy full SHA for 37dc468

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎lib/matplotlib/text.py

Copy file name to clipboardExpand all lines: lib/matplotlib/text.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@ def _get_xy_transform(self, renderer, s):
14801480

14811481
s_ = s.split()
14821482
if len(s_) != 2:
1483-
raise ValueError("%s is not a recognized coodinate" % s)
1483+
raise ValueError("%s is not a recognized coordinate" % s)
14841484

14851485
bbox0, xy0 = None, None
14861486

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

15251525
return tr.translate(ref_x, ref_y)
15261526

15271527
else:
1528-
raise ValueError("%s is not a recognized coodinate" % s)
1528+
raise ValueError("%s is not a recognized coordinate" % s)
15291529

15301530
def _get_ref_xy(self, renderer):
15311531
"""
@@ -1763,7 +1763,7 @@ def __init__(self, s, xy,
17631763
:ref:`plotting-guide-annotation` for more details.
17641764
17651765
1766-
The *annotation_clip* attribute contols the visibility of the
1766+
The *annotation_clip* attribute controls the visibility of the
17671767
annotation when it goes outside the axes area. If True, the
17681768
annotation will only be drawn when the *xy* is inside the
17691769
axes. If False, the annotation will always be drawn regardless

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.