Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd526105

Browse files
authored
Merge pull request#8868 from taehoonlee/fix_typos
Fix typos
2 parentsed10026 +d2ffbd5 commitd526105

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
exceptAttributeError:
24802480
pass
24812481

2482-
# quit the figure (defaut key 'ctrl+w')
2482+
# quit the figure (default key 'ctrl+w')
24832483
ifevent.keyinquit_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
defdraw_if_interactive():
174174
"""
175175
For image backends - is not required
176-
For GUI backends - this should beoverriden if drawing should be done in
176+
For GUI backends - this should beoverridden 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
defdraw_if_interactive():
11831183
"""
1184-
This should beoverriden in a windowing environment if drawing
1184+
This should beoverridden 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 beoverriden via the
1851+
points, terminating the inputs) can beoverridden 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
deftransmute(self,x0,y0,width,height,mutation_size):
19731973
"""
19741974
The transmute method is a very core of the
1975-
:class:`BboxTransmuter` class and must beoverriden in the
1975+
:class:`BboxTransmuter` class and must beoverridden 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
deftransmute(self,path,mutation_size,linewidth):
32113211
"""
32123212
The transmute method is the very core of the ArrowStyle
3213-
class and must beoverriden in the subclasses. It receives
3213+
class and must beoverridden 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
deftest_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
returnself._active
8383

84-
# set_active isoverriden by SelectorWidgets.
84+
# set_active isoverridden by SelectorWidgets.
8585
active=property(get_active,lambdaself,active:self.set_active(active),
8686
doc="Is the widget active?")
8787

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp