8000 Merge pull request #17184 from QuLogic/codespell · matplotlib/matplotlib@d4bd4e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit d4bd4e7

Browse files
authored
Merge pull request #17184 from QuLogic/codespell
Fix various small typos.
2 parents deed7b0 + b1dd1ad commit d4bd4e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+127
-129
lines changed

doc/_static/mpl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Originally created by Armin Ronacher for Werkzeug, adapted by Georg Brandl.
44
*/
55

6-
/* Carlogo font (simmilar to Calibri in the MPL logo) */
6+
/* Carlogo font (similar to Calibri in the MPL logo) */
77
@font-face {
88
font-family: 'CarlogoRegular';
99
font-style: normal;

doc/api/api_changes_3.3/deprecations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ and containment checks) via `.Line2D.set_picker` is deprecated. Use
151151

152152
``Artist.set_contains``, ``Artist.get_contains``
153153
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154-
Setting a custom method overridding `.Artist.contains` is deprecated.
154+
Setting a custom method overriding `.Artist.contains` is deprecated.
155155
There is no replacement, but you may still customize pick events using
156156
`.Artist.set_picker`.
157157

doc/api/prev_api_changes/api_changes_1.4.x.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ original location:
125125
`matplotlib.pyplot.csd`, and `matplotlib.pyplot.cohere`, in cases
126126
where a shape (n, 1) array is returned, this is now converted to a (n, )
127127
array. Previously, (n, m) arrays were averaged to an (n, ) array, but
128-
(n, 1) arrays were returend unchanged. This change makes the dimensions
128+
(n, 1) arrays were returned unchanged. This change makes the dimensions
129129
consistent in both cases.
130130

131131
* Added the :rc:`axes.formatter.useoffset` to control the default value

doc/api/prev_api_changes/api_changes_3.0.0.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,10 +405,8 @@ The following classes, methods, functions, and attributes are deprecated:
405405
- ``textpath.TextToPath.tex_font_map``
406406
- ``matplotlib.cbook.deprecation.mplDeprecation`` will be removed
407407
in future versions. It is just an alias for
408-
:class:`matplotlib.cbook.deprecation.MatplotlibDeprecationWarning`.
409-
Please use the
410-
``matplotlib.cbook.MatplotlibDeprecationWarning`` directly if
411-
neccessary.
408+
:class:`matplotlib.cbook.deprecation.MatplotlibDeprecationWarning`. Please
409+
use ``matplotlib.cbook.MatplotlibDeprecationWarning`` directly if necessary.
412410
- The ``matplotlib.cbook.Bunch`` class has been deprecated. Instead, use
413411
`types.SimpleNamespace` from the standard library which provides the same
414412
functionality.

doc/api/prev_api_changes/api_changes_3.1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ Classes and methods
494494
``backend_bases.FigureManagerBase.show_popup`` (this never did anything)
495495
- ``backend_wx.SubplotToolWx`` (no replacement)
496496
- ``backend_wx.Toolbar`` (use ``backend_wx.NavigationToolbar2Wx`` instead)
497-
- ``cbook.align_iterators`` (no replacment)
497+
- ``cbook.align_iterators`` (no replacement)
498498
- ``contour.ContourLabeler.get_real_label_width`` (no replacement)
499499
- ``legend.Legend.draggable`` (use `legend.Legend.set_draggable()` instead)
500500
- ``texmanager.TexManager.postscriptd``, ``texmanager.TexManager.pscnt``,

doc/devel/MEP/MEP23.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ implemented the **MultiFigure** magic yet.
108108
Alternatives
109109
============
110110

111-
Insted of modifying the `.FigureManagerBase` it could be possible to add
111+
Instead of modifying the `.FigureManagerBase` it could be possible to add
112112
a parallel class, that handles the cases where
113113
``rcParams['backend.multifigure'] = True``. This will warranty that
114114
there won't be any problems with custom made backends, but also makes

doc/devel/MEP/MEP26.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ python cookbook gives a nice tokenizing recipe on page 66), applying
175175
the syntax rules and constructing a ``Tree``. This requires defining the
176176
grammar of the stylesheet (again, we can borrow from CSS) and writing
177177
a parser. Happily, there is a recipe for this in the python cookbook
178-
aswell.
178+
as well.
179179

180180

181181
Visitor pattern for matplotlib figure

doc/devel/MEP/MEP28.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ These transformations can then be added to the call signature of
146146
``Axes.boxplot`` with little impact to that method's complexity. This is
147147
because they can be directly passed to ``cbook.boxplot_stats``.
148148
Alternatively, ``Axes.boxplot`` could be modified to accept an optional
149-
statistical function kwarg and a dictionary of parameters to be direcly
149+
statistical function kwarg and a dictionary of parameters to be directly
150150
passed to it.
151151

152152
At this point in the implementation users and external libraries like

doc/devel/gitwash/configure_git.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ and it gives graph / text output something like this (but with color!):
156156
| * 4aff2a8 - fixed bug 35, and added a test in test_bugfixes (2 weeks ago) [Hugo]
157157
|/
158158
* a7ff2e5 - Added notes on discussion/proposal made during Data Array Summit. (2 weeks ago) [Corran Webster]
159-
* 68f6752 - Initial implimentation of AxisIndexer - uses 'index_by' which needs to be changed to a call on an Axes object - this is all very sketchy right now. (2 weeks ago) [Corr
159+
* 68f6752 - Initial implementation of AxisIndexer - uses 'index_by' which needs to be changed to a call on an Axes object - this is all very sketchy right now. (2 weeks ago) [Corr
160160
* 376adbd - Merge pull request #46 from terhorst/master (2 weeks ago) [Jonathan Terhorst]
161161
|\
162162
| * b605216 - updated joshu example to current api (3 weeks ago) [Jonathan Terhorst]

doc/devel/min_dep_policy.rst

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,18 @@ See also the :ref:`list-of-dependency-min-versions`.
3535
Python Dependencies
3636
===================
3737

38-
For python dependencies we should support at least:
38+
For Python dependencies we should support at least:
3939

4040
with compiled extensions
41-
minor versions initially released in the 24 months prior to our
42-
planned release date or the oldest that support our minimum python +
43-
numpy
41+
minor versions initially released in the 24 months prior to our planned
42+
release date or the oldest that support our minimum Python + NumPy
4443

4544
without complied extensions
46-
minor versions initially released in the 12 months prior to our
47-
planed release date or the oldest that supports our minimum python.
45+
minor versions initially released in the 12 months prior to our planned
46+
release date or the oldest that supports our minimum Python.
4847

49-
We will only bump these dependencies as we need new features or the
50-
old versions no longer support our minimum numpy or python.
48+
We will only bump these dependencies as we need new features or the old
49+
versions no longer support our minimum NumPy or Python.
5150

5251
Test and Documentation Dependencies
5352
===================================

doc/devel/release_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ For the "what's new",
107107
1. copy the current content to a file in :file:`doc/users/prev_whats_new`
108108
2. merge all of the files in :file:`doc/users/next_whats_new/` into
109109
:file:`doc/users/whats_new.rst` and delete the individual files
110-
3. comment out the next whats new glob at the top
110+
3. comment out the next what's new glob at the top
111111

112112
Similarly for the "API changes",
113113

doc/sphinxext/missing_references.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def _truncate_location(location):
137137
Cuts off anything after the first colon in location strings.
138138
139139
This allows for easy comparison even when line numbers chagne
140-
(as they do regularily).
140+
(as they do regularly).
141141
"""
142142
return location.split(":", 1)[0]
143143

doc/thirdpartypackages/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ diagrams.
121121
mpl-probscale
122122
=============
123123
`mpl-probscale <https://matplotlib.org/mpl-probscale/>`_ is a small extension
124-
that allows Matplotlib users to specify probabilty scales. Simply importing the
124+
that allows Matplotlib users to specify probability scales. Simply importing the
125125
``probscale`` module registers the scale with Matplotlib, making it accessible
126126
via e.g., ``ax.set_xscale('prob')`` or ``plt.yscale('prob')``.
127127

@@ -311,8 +311,8 @@ sviewgui
311311
`sviewgui <https://pypi.org/project/sviewgui/>`_ is a PyQt-based GUI for
312312
visualisation of data from csv files or `pandas.DataFrame`\s. Main features:
313313

314-
- Scatter, line, density, histgram, and box plot types
315-
- Settings for the marker size, line width, number of bins of histgram,
314+
- Scatter, line, density, histogram, and box plot types
315+
- Settings for the marker size, line width, number of bins of histogram,
316316
color map (from cmocean)
317317
- Save figure as editable PDF
318318
- Code of the plotted graph is available so that it can be reused and modified

0 commit comments

Comments
 (0)
0