Skip to content

Commit d526105

Browse files
authored
Merge pull request #8868 from taehoonlee/fix_typos
Fix typos
2 parents ed10026 + d2ffbd5 commit d526105

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2479,7 +2479,7 @@ def key_press_handler(event, canvas, toolbar=None):
24792479
except AttributeError:
24802480
pass
24812481

2482-
# quit the figure (defaut key 'ctrl+w')
2482+
# quit the figure (default key 'ctrl+w')
24832483
if event.key in quit_keys:
24842484
Gcf.destroy_fig(canvas.figure)
24852485

lib/matplotlib/backends/backend_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class GraphicsContextTemplate(GraphicsContextBase):
173173
def draw_if_interactive():
174174
"""
175175
For image backends - is not required
176-
For GUI backends - this should be overriden if drawing should be done in
176+
For GUI backends - this should be overridden if drawing should be done in
177177
interactive python mode
178178
"""
179179
pass

lib/matplotlib/backends/backend_wx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ def _create_wx_app():
11811181

11821182
def draw_if_interactive():
11831183
"""
1184-
This should be overriden in a windowing environment if drawing
1184+
This should be overridden in a windowing environment if drawing
11851185
should be done in interactive python mode
11861186
"""
11871187
DEBUG_MSG("draw_if_interactive()", 1, None)

lib/matplotlib/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1848,7 +1848,7 @@ def ginput(self, n=1, timeout=30, show_clicks=True, mouse_add=1,
18481848
coordinates of each click in a list.
18491849
18501850
The buttons used for the various actions (adding points, removing
1851-
points, terminating the inputs) can be overriden via the
1851+
points, terminating the inputs) can be overridden via the
18521852
arguments *mouse_add*, *mouse_pop* and *mouse_stop*, that give
18531853
the associated mouse button: 1 for left, 2 for middle, 3 for
18541854
right.

lib/matplotlib/patches.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ def __init__(self):
19721972
def transmute(self, x0, y0, width, height, mutation_size):
19731973
"""
19741974
The transmute method is a very core of the
1975-
:class:`BboxTransmuter` class and must be overriden in the
1975+
:class:`BboxTransmuter` class and must be overridden in the
19761976
subclasses. It receives the location and size of the
19771977
rectangle, and the mutation_size, with which the amount of
19781978
padding and etc. will be scaled. It returns a
@@ -3210,7 +3210,7 @@ def ensure_quadratic_bezier(path):
32103210
def transmute(self, path, mutation_size, linewidth):
32113211
"""
32123212
The transmute method is the very core of the ArrowStyle
3213-
class and must be overriden in the subclasses. It receives
3213+
class and must be overridden in the subclasses. It receives
32143214
the path object along which the arrow will be drawn, and
32153215
the mutation_size, with which the arrow head etc.
32163216
will be scaled. The linewidth may be used to adjust

lib/matplotlib/tests/test_table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def test_customcell():
133133
def test_auto_column():
134134
fig = plt.figure()
135135

136-
#iteratble list input
136+
# iterable list input
137137
ax1 = fig.add_subplot(4, 1, 1)
138138
ax1.axis('off')
139139
tb1 = ax1.table(cellText=[['Fit Text', 2],
@@ -145,7 +145,7 @@ def test_auto_column():
145145
tb1.set_fontsize(12)
146146
tb1.auto_set_column_width([-1, 0, 1])
147147

148-
#iteratble tuple input
148+
# iterable tuple input
149149
ax2 = fig.add_subplot(4, 1, 2)
150150
ax2.axis('off')
151151
tb2 = ax2.table(cellText=[['Fit Text', 2],

lib/matplotlib/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def get_active(self):
8181
"""
8282
return self._active
8383

84-
# set_active is overriden by SelectorWidgets.
84+
# set_active is overridden by SelectorWidgets.
8585
active = property(get_active, lambda self, active: self.set_active(active),
8686
doc="Is the widget active?")
8787

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy