8000 Merge pull request #8761 from taehoonlee/fix_typos · stuartcampbell/matplotlib@e7f1145 · GitHub
[go: up one dir, main page]

Skip to content

Commit e7f1145

Browse files
authored
Merge pull request matplotlib#8761 from taehoonlee/fix_typos
Fix typos
2 parents 6ff34d4 + 3663e9a commit e7f1145

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
@@ -2682,7 +2682,7 @@ def unknown_symbol(self, s, loc, toks):
26822682
raise ParseFatalException(s, loc, "Unknown symbol: %s" % c)
26832683

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

0 commit comments

Comments
 (0)
0