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

Skip to content

Commit 3376689

Browse files
committed
typo refinements
1 parent f3fd16f commit 3376689

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

lib/matplotlib/backend_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def set_figure(self, figure):
228228
if figure:
229229
self.trigger(self, None)
230230
else:
231-
# if there is no figure, trigger wont change the internal state
231+
# if there is no figure, trigger won't change the internal state
232232
# we change it back
233233
self._toggled = True
234234

lib/matplotlib/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@ def autoscale(self):
14391439

14401440
class MonthLocator(RRuleLocator):
14411441
"""
1442-
Make ticks on occurrences of each month month, e.g., 1, 3, 12.
1442+
Make ticks on occurrences of each month, e.g., 1, 3, 12.
14431443
"""
14441444
def __init__(self, bymonth=None, bymonthday=1, interval=1, tz=None):
14451445
"""

lib/matplotlib/offsetbox.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ def set_offset(self, xy):
626626
"""
627627
set offset of the container.
628628
629-
Accept : tuple of x,y coordinate in disokay units.
629+
Accept : tuple of x,y coordinate in display units.
630630
"""
631631
self._offset = xy
632632

@@ -915,7 +915,7 @@ def set_offset(self, xy):
915915
"""
916916
set offset of the container.
917917
918-
Accept : tuple of x,y coordinate in disokay units.
918+
Accept : tuple of x,y coordinate in display units.
919919
"""
920920
self._offset = xy
921921

@@ -1318,7 +1318,7 @@ def get_zoom(self):
13181318
# """
13191319
# set offset of the container.
13201320

1321-
# Accept : tuple of x,y coordinate in disokay units.
1321+
# Accept : tuple of x,y coordinate in display units.
13221322
# """
13231323
# self._offset = xy
13241324

lib/matplotlib/patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2831,7 +2831,7 @@ def __reduce__(self):
28312831
class Arc3(_Base):
28322832
"""
28332833
Creates a simple quadratic bezier curve between two
2834-
points. The curve is created so that the middle control points
2834+
points. The curve is created so that the middle control point
28352835
(C1) is located at the same distance from the start (C0) and
28362836
end points(C2) and the distance of the C1 to the line
28372837
connecting C0-C2 is *rad* times the distance of C0-C2.

lib/matplotlib/tri/trirefine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def _refine_triangulation_once(triangulation, ancestors=None):
285285

286286
# Now dealing with slave elems.
287287
# for each slave element we identify the master and then the inode
288-
# onces slave_masters is identified, slave_masters_apex is such that:
288+
# once slave_masters is identified, slave_masters_apex is such that:
289289
# neighbors[slaves_masters, slave_masters_apex] == slaves
290290
mask_slaves = np.logical_not(mask_masters)
291291
slaves = edge_elems[mask_slaves]

0 commit comments

Comments
 (0)