Skip to content

Commit 8c2d779

Browse files
committed
Fix typos
1 parent 3b0ee9f commit 8c2d779

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

doc/api/api_changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2902,7 +2902,7 @@ Changes for 0.50
29022902
canvas.show()
29032903
vbox.pack_start(canvas)
29042904

2905-
If you use the NavigationToolbar, this in now intialized with a
2905+
If you use the NavigationToolbar, this in now initialized with a
29062906
FigureCanvas, not a Figure. The examples embedding_in_gtk.py,
29072907
embedding_in_gtk2.py, and mpl_with_glade.py all reflect the new
29082908
API so use these as a guide.

doc/users/prev_whats_new/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ the `API changes <../../api/api_changes.html>`_.
596596
2010-06-30 Added autoscale convenience method and corresponding
597597
pyplot function for simplified control of autoscaling;
598598
and changed axis, set_xlim, and set_ylim so that by
599-
default, they turn off the autoscaling on the relevent
599+
default, they turn off the autoscaling on the relevant
600600
axis or axes. Therefore one can call set_xlim before
601601
plotting a line, for example, and the limits will be
602602
retained. - EF

lib/matplotlib/artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def allow_rasterization(draw):
3939
"""
4040
Decorator for Artist.draw method. Provides routines
4141
that run before and after the draw call. The before and after functions
42-
are useful for changing artist-dependant renderer attributes or making
42+
are useful for changing artist-dependent renderer attributes or making
4343
other setup function calls, such as starting and flushing a mixed-mode
4444
renderer.
4545
"""

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4038,7 +4038,7 @@ def hexbin(self, x, y, C=None, gridsize=100, bins=None,
40384038
40394039
Make a hexagonal binning plot of *x* versus *y*, where *x*,
40404040
*y* are 1-D sequences of the same length, *N*. If *C* is *None*
4041-
(the default), this is a histogram of the number of occurences
4041+
(the default), this is a histogram of the number of occurrences
40424042
of the observations at (x[i],y[i]).
40434043
40444044
If *C* is specified, it specifies values at the coordinate

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3827,7 +3827,7 @@ def get_children(self):
38273827

38283828
def contains(self, mouseevent):
38293829
"""
3830-
Test whether the mouse event occured in the axes.
3830+
Test whether the mouse event occurred in the axes.
38313831
38323832
Returns *True* / *False*, {}
38333833
"""

lib/matplotlib/axis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ class XAxis(Axis):
17021702
axis_name = 'x'
17031703

17041704
def contains(self, mouseevent):
1705-
"""Test whether the mouse event occured in the x axis.
1705+
"""Test whether the mouse event occurred in the x axis.
17061706
"""
17071707
if callable(self._contains):
17081708
return self._contains(self, mouseevent)

lib/matplotlib/backend_bases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def _iter_collection_raw_paths(self, master_transform, paths,
382382
all_transforms):
383383
"""
384384
This is a helper method (along with :meth:`_iter_collection`) to make
385-
it easier to write a space-efficent :meth:`draw_path_collection`
385+
it easier to write a space-efficient :meth:`draw_path_collection`
386386
implementation in a backend.
387387
388388
This method yields all of the base path/transform
@@ -433,7 +433,7 @@ def _iter_collection(self, gc, master_transform, all_transforms,
433433
"""
434434
This is a helper method (along with
435435
:meth:`_iter_collection_raw_paths`) to make it easier to write
436-
a space-efficent :meth:`draw_path_collection` implementation in a
436+
a space-efficient :meth:`draw_path_collection` implementation in a
437437
backend.
438438
439439
This method yields all of the path, offset and graphics

lib/matplotlib/backends/backend_agg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class RendererAgg(RendererBase):
7979
# FigureCanvas acquire a lock on the fontd at the start of the
8080
# draw, and release it when it is done. This allows multiple
8181
# renderers to share the cached fonts, but only one figure can
82-
# draw at at time and so the font cache is used by only one
82+
# draw at time and so the font cache is used by only one
8383
# renderer at a time
8484

8585
lock = threading.RLock()

lib/matplotlib/image.py

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

549549
def contains(self, mouseevent):
550550
"""
551-
Test whether the mouse event occured within the image.
551+
Test whether the mouse event occurred within the image.
552552
"""
553553
if callable(self._contains):
554554
return self._contains(self, mouseevent)
@@ -1195,7 +1195,7 @@ def get_window_extent(self, renderer=None):
11951195
raise ValueError("unknown type of bbox")
11961196

11971197
def contains(self, mouseevent):
1198-
"""Test whether the mouse event occured within the image."""
1198+
"""Test whether the mouse event occurred within the image."""
11991199
if callable(self._contains):
12001200
return self._contains(self, mouseevent)
12011201

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2312,7 +2312,7 @@ def plotfile(fname, cols=(0,), plotfuncs=None,
23122312
comments='#', skiprows=0, checkrows=5, delimiter=',',
23132313
names=None, subplots=True, newfig=True, **kwargs):
23142314
"""
2315-
Plot the data in in a file.
2315+
Plot the data in a file.
23162316
23172317
*cols* is a sequence of column identifiers to plot. An identifier
23182318
is either an int or a string. If it is an int, it indicates the

setup.cfg.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
#
8686
# The Agg, Ps, Pdf and SVG backends do not require external
8787
# dependencies. Do not choose GTK, GTKAgg, GTKCairo, MacOSX, or TkAgg
88-
# if you have disabled the relevent extension modules. Agg will be used
88+
# if you have disabled the relevant extension modules. Agg will be used
8989
# by default.
9090
#
9191
#backend = Agg

0 commit comments

Comments
 (0)