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

Skip to content

Commit 0534135

Browse files
committed
docs: fix typos in docstrings and comments
1 parent 36994e0 commit 0534135

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/matplotlib/_mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ class FontConstantsBase:
10101010

10111011
class ComputerModernFontConstants(FontConstantsBase):
10121012
# Previously, the x-height of Computer Modern was obtained from the font
1013-
# table. However, that x-height was greater than the the actual (rendered)
1013+
# table. However, that x-height was greater than the actual (rendered)
10141014
# x-height by a factor of 1.771484375 (at font size 12, DPI 100 and hinting
10151015
# type 32). Now that we're using the rendered x-height, some font constants
10161016
# have been increased by the same factor to compensate.

lib/matplotlib/colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3520,7 +3520,7 @@ def inverse(self, values):
35203520
- If iterable, must be of length `n_components`. Each element can be a
35213521
scalar or array-like and is mapped through the corresponding norm.
35223522
- If structured array, must have `n_components` fields. Each field
3523-
is mapped through the the corresponding norm.
3523+
is mapped through the corresponding norm.
35243524
35253525
"""
35263526
values = self._iterable_components_in_data(values, self.n_components)

lib/matplotlib/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ def __init__(self, artist, ref_coord, unit="points"):
16141614
16151615
ref_coord : (float, float)
16161616
If *artist* is an `.Artist` or `.BboxBase`, this values is
1617-
the location to of the offset origin in fractions of the
1617+
the location of the offset origin in fractions of the
16181618
*artist* bounding box.
16191619
16201620
If *artist* is a transform, the offset origin is the

0 commit comments

Comments
 (0)