diff --git a/lib/matplotlib/text.py b/lib/matplotlib/text.py index 42fb58ab76ad..b2851d73e524 100644 --- a/lib/matplotlib/text.py +++ b/lib/matplotlib/text.py @@ -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 @@ -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): """ @@ -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