diff --git a/lib/matplotlib/_mathtext.py b/lib/matplotlib/_mathtext.py index 21ec24d73286..fc2b5f7c7ce2 100644 --- a/lib/matplotlib/_mathtext.py +++ b/lib/matplotlib/_mathtext.py @@ -1010,7 +1010,7 @@ class FontConstantsBase: class ComputerModernFontConstants(FontConstantsBase): # Previously, the x-height of Computer Modern was obtained from the font - # table. However, that x-height was greater than the the actual (rendered) + # table. However, that x-height was greater than the actual (rendered) # x-height by a factor of 1.771484375 (at font size 12, DPI 100 and hinting # type 32). Now that we're using the rendered x-height, some font constants # have been increased by the same factor to compensate. diff --git a/lib/matplotlib/colors.py b/lib/matplotlib/colors.py index b04b8c6ca7a3..9b2e859561c2 100644 --- a/lib/matplotlib/colors.py +++ b/lib/matplotlib/colors.py @@ -3520,7 +3520,7 @@ def inverse(self, values): - If iterable, must be of length `n_components`. Each element can be a scalar or array-like and is mapped through the corresponding norm. - If structured array, must have `n_components` fields. Each field - is mapped through the the corresponding norm. + is mapped through the corresponding norm. """ values = self._iterable_components_in_data(values, self.n_components) diff --git a/lib/matplotlib/text.py b/lib/matplotlib/text.py index 9c6478f9c7df..80b10ec4e35c 100644 --- a/lib/matplotlib/text.py +++ b/lib/matplotlib/text.py @@ -1614,7 +1614,7 @@ def __init__(self, artist, ref_coord, unit="points"): ref_coord : (float, float) If *artist* is an `.Artist` or `.BboxBase`, this values is - the location to of the offset origin in fractions of the + the location of the offset origin in fractions of the *artist* bounding box. If *artist* is a transform, the offset origin is the