Skip to content

Commit fed55c6

Browse files
luzpaztacaswell
andauthored
DOC: fix typos (#18980)
* DOC: fix typos Found using `codespell v2.0.dev` ``` codespell -q 3 -S ./extern,./doc/users/credits.rst,./doc/api/prev_api_changes,./doc/users/prev_whats_new -L afe,ans,axises,ba,coo,flate,fo,hist,inout,ment,nd,offsetp,oly,ot,te,thisy,vas,whis,wit ``` * Added requested revisions Co-authored-by: Thomas A Caswell <tcaswell@gmail.com> * Added requested revisions Co-authored-by: Thomas A Caswell <tcaswell@gmail.com> * Added requested revisions Co-authored-by: Thomas A Caswell <tcaswell@gmail.com> * Fix typo demonstrated by @QuLogic Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
1 parent 87119ea commit fed55c6

35 files changed

+46
-46
lines changed

LICENSE/LICENSE_BAKOMA

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
BaKoMa Fonts Licence
33
--------------------
44

5-
This licence covers two font packs (known as BaKoMa Fonts Colelction,
5+
This licence covers two font packs (known as BaKoMa Fonts Collection,
66
which is available at `CTAN:fonts/cm/ps-type1/bakoma/'):
77

88
1) BaKoMa-CM (1.1/12-Nov-94)

doc/_static/fa/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Font Awsome SVG Icons are covered by CC BY 4.0 License.
1+
Font Awesome SVG Icons are covered by CC BY 4.0 License.
22

33
https://fontawesome.com/license/free
44

doc/thirdpartypackages/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ mpl_interactions
243243
================
244244
`mpl_interactions <https://mpl-interactions.readthedocs.io/en/latest/>`_
245245
makes it easy to create interactive plots controlled by sliders and other
246-
widgets. It also provides several handy capabilties such as manual
246+
widgets. It also provides several handy capabilities such as manual
247247
image segmentation, comparing cross-sections of arrays, and using the
248248
scroll wheel to zoom.
249249

examples/animation/animated_histogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
###############################################################################
2525
# To animate the histogram, we need an ``animate`` function, which generates
26-
# a random set of numbers and updates the heights of rectanges. We utilize a
26+
# a random set of numbers and updates the heights of rectangles. We utilize a
2727
# python closure to track an instance of `.BarContainer` whose `.Rectangle`
2828
# patches we shall update.
2929

examples/axisartist/demo_curvelinear_grid2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
======================
3-
Demo Curvelinear Grid2
3+
Demo CurveLinear Grid2
44
======================
55
66
Custom grid and ticklines.

examples/images_contours_and_fields/contour_label_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
Z = (Z1 - Z2) * 2
2828

2929
###############################################################################
30-
# Make contour labels wuth custom level formatters
30+
# Make contour labels with custom level formatters
3131

3232

3333
# This custom formatter removes trailing zeros, e.g. "1.0" becomes "1", and

examples/misc/packed_bubbles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def collapse(self, n_iterations=50):
115115
# calculate direction vector
116116
dir_vec = rest_bub[colliding, :2] - self.bubbles[i, :2]
117117
dir_vec = dir_vec / np.sqrt(dir_vec.dot(dir_vec))
118-
# calculate orthagonal vector
118+
# calculate orthogonal vector
119119
orth = np.array([dir_vec[1], -dir_vec[0]])
120120
# test which direction to go
121121
new_point1 = (self.bubbles[i, :2] + orth *

examples/shapes_and_collections/hatch_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
==========
55
66
Hatches can be added to most polygons in Matplotlib, including `~.Axes.bar`,
7-
`~.Axes.fill_between`, `~.Axes.contourf`, and childern of `~.patches.Polygon`.
7+
`~.Axes.fill_between`, `~.Axes.contourf`, and children of `~.patches.Polygon`.
88
They are currently supported in the PS, PDF, SVG, OSX, and Agg backends. The WX
99
and Cairo backends do not currently support hatching.
1010

examples/shapes_and_collections/hatch_style_reference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
=====================
55
66
Hatches can be added to most polygons in Matplotlib, including `~.Axes.bar`,
7-
`~.Axes.fill_between`, `~.Axes.contourf`, and childern of `~.patches.Polygon`.
7+
`~.Axes.fill_between`, `~.Axes.contourf`, and children of `~.patches.Polygon`.
88
They are currently supported in the PS, PDF, SVG, OSX, and Agg backends. The WX
99
and Cairo backends do not currently support hatching.
1010

examples/statistics/time_series_histogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
Y = np.cumsum(np.random.randn(num_series, num_points), axis=-1)
4343
# Generate sinusoidal signals
4444
num_signal = int(round(SNR * num_series))
45-
phi = (np.pi / 8) * np.random.randn(num_signal, 1) # small random offest
45+
phi = (np.pi / 8) * np.random.randn(num_signal, 1) # small random offset
4646
Y[-num_signal:] = (
4747
np.sqrt(np.arange(num_points))[None, :] # random walk RMS scaling factor
4848
* (np.sin(x[None, :] - phi)

0 commit comments

Comments
 (0)