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

Appearance settings

Commit 023dd9d

Browse filesBrowse files
committed
DOC: fix various typos
Found via `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`
1 parent a4253d5 commit 023dd9d
Copy full SHA for 023dd9d

File tree

Expand file treeCollapse file tree

12 files changed

+16
-16
lines changed
Filter options
Expand file treeCollapse file tree

12 files changed

+16
-16
lines changed
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
``epoch2num`` and ``num2epoch`` are deprecated
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
These methods convert from unix timestamps to matplotlib floats, but are not
4-
useed internally to matplotlib, and should not be needed by endusers.
4+
used internally to matplotlib, and should not be needed by endusers.
55
To convert a unix timestamp to datetime, simply use
66
`datetime.datetime.utcfromtimestamp`, or to use numpy datetime64
77
``dt = np.datetim64(e*1e6, 'us')``.

‎doc/devel/min_dep_policy.rst

Copy file name to clipboardExpand all lines: doc/devel/min_dep_policy.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ with compiled extensions
4141
minor versions initially released in the 24 months prior to our planned
4242
release date or the oldest that support our minimum Python + NumPy
4343

44-
without complied extensions
44+
without compiled extensions
4545
minor versions initially released in the 12 months prior to our planned
4646
release date or the oldest that supports our minimum Python.
4747

‎doc/devel/style_guide.rst

Copy file name to clipboardExpand all lines: doc/devel/style_guide.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ reliability and consistency in documentation. They are not interchangeable.
153153
| | | motion." | |
154154
+------------------+--------------------------+--------------+--------------+
155155
| Explicit, | Explicit approach of | - Explicit | - object |
156-
| Object Oriented | programing in Matplotlib.| - explicit | oriented |
157-
| Programming (OOP)| | - OOP | - OO-style |
156+
| Object Oriented | programming in | - explicit | oriented |
157+
| Programming (OOP)| Matplotlib. | - OOP | - OO-style |
158158
+------------------+--------------------------+--------------+--------------+
159159
| Implicit, | Implicit approach of | - Implicit | - MATLAB like|
160160
| ``pyplot`` | programming in Matplotlib| - implicit | - Pyplot |

‎examples/subplots_axes_and_figures/colorbar_placement.py

Copy file name to clipboardExpand all lines: examples/subplots_axes_and_figures/colorbar_placement.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979

8080
######################################################################
8181
# One way around this issue is to use an `.Axes.inset_axes` to locate the
82-
# axes in axes co-ordinates. Note that if you zoom in on the axes, and
82+
# axes in axes coordinates. Note that if you zoom in on the axes, and
8383
# change the shape of the axes, the colorbar will also change position.
8484

8585
fig, axs = plt.subplots(2, 2, constrained_layout=True)

‎examples/widgets/annotated_cursor.py

Copy file name to clipboardExpand all lines: examples/widgets/annotated_cursor.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class AnnotatedCursor(Cursor):
6565
6666
Other Parameters
6767
----------------
68-
textprops : `matplotlib.text` properties as dictionay
68+
textprops : `matplotlib.text` properties as dictionary
6969
Specifies the appearance of the rendered text object.
7070
7171
**cursorargs : `matplotlib.widgets.Cursor` properties
@@ -161,7 +161,7 @@ def onmove(self, event):
161161
# Draw the widget, if event coordinates are valid.
162162
if plotpoint is not None:
163163
# Update position and displayed text.
164-
# Position: Where the event occured.
164+
# Position: Where the event occurred.
165165
# Text: Determined by set_position() method earlier
166166
# Position is transformed to pixel coordinates,
167167
# an offset is added there and this is transformed back.

‎lib/matplotlib/cbook/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/cbook/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ def to_filehandle(fname, flag='r', return_opened=False, encoding=None):
401401
if fname.endswith('.gz'):
402402
fh = gzip.open(fname, flag)
403403
elif fname.endswith('.bz2'):
404-
# python may not be complied with bz2 support,
404+
# python may not be compiled with bz2 support,
405405
# bury import until we need it
406406
import bz2
407407
fh = bz2.BZ2File(fname, flag)

‎lib/matplotlib/collections.py

Copy file name to clipboardExpand all lines: lib/matplotlib/collections.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ class QuadMesh(Collection):
19271927
19281928
A quadrilateral mesh is a grid of M by N adjacent qudrilaterals that are
19291929
defined via a (M+1, N+1) grid of vertices. The quadrilateral (m, n) is
1930-
defind by the vertices ::
1930+
defined by the vertices ::
19311931
19321932
(m+1, n) ----------- (m+1, n+1)
19331933
/ /

‎lib/matplotlib/colorbar.py

Copy file name to clipboardExpand all lines: lib/matplotlib/colorbar.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def draw_all(self):
561561
self.vmin, self.vmax = self._boundaries[self._inside][[0, -1]]
562562
# Compute the X/Y mesh.
563563
X, Y, extendlen = self._mesh()
564-
# draw the extend triangles, and shrink the inner axes to accomodate.
564+
# draw the extend triangles, and shrink the inner axes to accommodate.
565565
# also adds the outline path to self.outline spine:
566566
self._do_extends(extendlen)
567567

@@ -622,7 +622,7 @@ def _add_solids_patches(self, X, Y, C, mappable):
622622
def _do_extends(self, extendlen):
623623
"""
624624
Make adjustments of the inner axes for the extend triangles (or
625-
rectanges) and add them as patches.
625+
rectangles) and add them as patches.
626626
"""
627627
# extend lengths are fraction of the *inner* part of colorbar,
628628
# not the total colorbar:
@@ -659,7 +659,7 @@ def _do_extends(self, extendlen):
659659
return
660660

661661
# Make extend triangles or rectangles filled patches. These are
662-
# defined in the outer parent axes' co-ordinates:
662+
# defined in the outer parent axes' coordinates:
663663
mappable = getattr(self, 'mappable', None)
664664
if (isinstance(mappable, contour.ContourSet)
665665
and any(hatch is not None for hatch in mappable.hatches)):

‎lib/matplotlib/colors.py

Copy file name to clipboardExpand all lines: lib/matplotlib/colors.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ def __call__(self, value, clip=None):
17311731
else:
17321732
max_col = self.Ncmap
17331733
# this gives us the bins in the lookup table in the range
1734-
# [0, _n_regions - 1] (the offset is baked in the init)
1734+
# [0, _n_regions - 1] (the offset is baked-in in the init)
17351735
iret = np.digitize(xx, self.boundaries) - 1 + self._offset
17361736
# if we have more colors than regions, stretch the region
17371737
# index computed above to full range of the color bins. This

‎lib/matplotlib/tests/test_mlab.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_mlab.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def stim(self, request, fstims, iscomplex, sides, len_x, NFFT_density,
354354
num=pad_to_spectrum_real // 2 + 1)
355355
else:
356356
# frequencies for specgram, psd, and csd
357-
# need to handle even and odd differentl
357+
# need to handle even and odd differently
358358
if pad_to_density_real % 2:
359359
freqs_density = np.linspace(-Fs / 2, Fs / 2,
360360
num=2 * pad_to_density_real,

‎plot_types/unstructured/README.rst

Copy file name to clipboardExpand all lines: plot_types/unstructured/README.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _unstructured_plots:
22

3-
Unstructured co-ordinates
3+
Unstructured coordinates
44
-------------------------
55

66
Sometimes we collect data ``z`` at coordinates ``(x,y)`` and want to visualize

‎tutorials/text/usetex.py

Copy file name to clipboardExpand all lines: tutorials/text/usetex.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
family fonts
6464
================= ============================================================
6565
``'serif'`` ``'New Century Schoolbook'``, ``'Bookman'``, ``'Times'``,
66-
``'Palatino'``, ``'Charter'``, ``'Computer Moderm Roman'``
66+
``'Palatino'``, ``'Charter'``, ``'Computer Modern Roman'``
6767
6868
``'sans-serif'`` ``'Helvetica'``, ``'Avant Garde'``, ``'Computer Modern
6969
Serif'``

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.