8000 Fix typos · matplotlib/matplotlib@3663e9a · GitHub
[go: up one dir, main page]

Skip to content

Commit 3663e9a

Browse files
committed
Fix typos
1 parent 7139b51 commit 3663e9a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6255,7 +6255,7 @@ def hist(self, x, bins=None, range=None, normed=False, weights=None,
62556255
# stepfill is closed, step is not
62566256
split = -1 if fill else 2 * len(bins)
62576257
# add patches in reverse order so that when stacking,
6258-
# items lower in the stack are plottted on top of
6258+
# items lower in the stack are plotted on top of
62596259
# items higher in the stack
62606260
for x, y, c in reversed(list(zip(xvals, yvals, color))):
62616261
patches.append(self.fill(

lib/matplotlib/backend_bases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,7 +1997,7 @@ def draw(self, *args, **kwargs):
19971997

19981998
def draw_idle(self, *args, **kwargs):
19991999
"""
2000-
:meth:`draw` only if idle; defaults to draw but backends can overrride
2000+
:meth:`draw` only if idle; defaults to draw but backends can override
20012001
"""
20022002
if not self._is_idle_drawing:
20032003
with self._idle_draw_cntx():
@@ -2636,7 +2636,7 @@ def __init__(self, canvas, num):
26362636
self.key_press_handler_id = None
26372637
"""
26382638
The returned id from connecting the default key handler via
2639-
:meth:`FigureCanvasBase.mpl_connnect`.
2639+
:meth:`FigureCanvasBase.mpl_connect`.
26402640
26412641
To disable default key press handling::
26422642

lib/matplotlib/mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2689,7 +2689,7 @@ def unknown_symbol(self, s, loc, toks):
26892689
raise ParseFatalException(s, loc, "Unknown symbol: %s" % c)
26902690

26912691
_char_over_chars = {
2692-
# The first 2 entires in the tuple are (font, char, sizescale) for
2692+
# The first 2 entries in the tuple are (font, char, sizescale) for
26932693
# the two symbols under and over. The third element is the space
26942694
# (in multiples of underline height)
26952695
r'AA': (('it', 'A', 1.0), (None, '\\circ', 0.5), 0.0),

0 commit comments

Comments
 (0)
0