diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css
index 86c2912bee99..ea03ce38be48 100644
--- a/doc/_static/mpl.css
+++ b/doc/_static/mpl.css
@@ -3,7 +3,7 @@
* Originally created by Armin Ronacher for Werkzeug, adapted by Georg Brandl.
*/
-/* Carlogo font (simmilar to Calibri in the MPL logo) */
+/* Carlogo font (similar to Calibri in the MPL logo) */
@font-face {
font-family: 'CarlogoRegular';
font-style: normal;
diff --git a/doc/api/api_changes_3.3/deprecations.rst b/doc/api/api_changes_3.3/deprecations.rst
index f250def2757a..a1c40be2b6d6 100644
--- a/doc/api/api_changes_3.3/deprecations.rst
+++ b/doc/api/api_changes_3.3/deprecations.rst
@@ -151,7 +151,7 @@ and containment checks) via `.Line2D.set_picker` is deprecated. Use
``Artist.set_contains``, ``Artist.get_contains``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Setting a custom method overridding `.Artist.contains` is deprecated.
+Setting a custom method overriding `.Artist.contains` is deprecated.
There is no replacement, but you may still customize pick events using
`.Artist.set_picker`.
diff --git a/doc/api/prev_api_changes/api_changes_1.4.x.rst b/doc/api/prev_api_changes/api_changes_1.4.x.rst
index a7548785df17..2d49b4b6651a 100644
--- a/doc/api/prev_api_changes/api_changes_1.4.x.rst
+++ b/doc/api/prev_api_changes/api_changes_1.4.x.rst
@@ -125,7 +125,7 @@ original location:
`matplotlib.pyplot.csd`, and `matplotlib.pyplot.cohere`, in cases
where a shape (n, 1) array is returned, this is now converted to a (n, )
array. Previously, (n, m) arrays were averaged to an (n, ) array, but
- (n, 1) arrays were returend unchanged. This change makes the dimensions
+ (n, 1) arrays were returned unchanged. This change makes the dimensions
consistent in both cases.
* Added the :rc:`axes.formatter.useoffset` to control the default value
diff --git a/doc/api/prev_api_changes/api_changes_3.0.0.rst b/doc/api/prev_api_changes/api_changes_3.0.0.rst
index 52e9b9ccf7f1..b0153c50d884 100644
--- a/doc/api/prev_api_changes/api_changes_3.0.0.rst
+++ b/doc/api/prev_api_changes/api_changes_3.0.0.rst
@@ -405,10 +405,8 @@ The following classes, methods, functions, and attributes are deprecated:
- ``textpath.TextToPath.tex_font_map``
- ``matplotlib.cbook.deprecation.mplDeprecation`` will be removed
in future versions. It is just an alias for
- :class:`matplotlib.cbook.deprecation.MatplotlibDeprecationWarning`.
- Please use the
- ``matplotlib.cbook.MatplotlibDeprecationWarning`` directly if
- neccessary.
+ :class:`matplotlib.cbook.deprecation.MatplotlibDeprecationWarning`. Please
+ use ``matplotlib.cbook.MatplotlibDeprecationWarning`` directly if necessary.
- The ``matplotlib.cbook.Bunch`` class has been deprecated. Instead, use
`types.SimpleNamespace` from the standard library which provides the same
functionality.
diff --git a/doc/api/prev_api_changes/api_changes_3.1.0.rst b/doc/api/prev_api_changes/api_changes_3.1.0.rst
index 88c8ce751951..769b43bdcecd 100644
--- a/doc/api/prev_api_changes/api_changes_3.1.0.rst
+++ b/doc/api/prev_api_changes/api_changes_3.1.0.rst
@@ -494,7 +494,7 @@ Classes and methods
``backend_bases.FigureManagerBase.show_popup`` (this never did anything)
- ``backend_wx.SubplotToolWx`` (no replacement)
- ``backend_wx.Toolbar`` (use ``backend_wx.NavigationToolbar2Wx`` instead)
-- ``cbook.align_iterators`` (no replacment)
+- ``cbook.align_iterators`` (no replacement)
- ``contour.ContourLabeler.get_real_label_width`` (no replacement)
- ``legend.Legend.draggable`` (use `legend.Legend.set_draggable()` instead)
- ``texmanager.TexManager.postscriptd``, ``texmanager.TexManager.pscnt``,
diff --git a/doc/devel/MEP/MEP23.rst b/doc/devel/MEP/MEP23.rst
index 85c65cc7996b..d43d82a3a37f 100644
--- a/doc/devel/MEP/MEP23.rst
+++ b/doc/devel/MEP/MEP23.rst
@@ -108,7 +108,7 @@ implemented the **MultiFigure** magic yet.
Alternatives
============
-Insted of modifying the `.FigureManagerBase` it could be possible to add
+Instead of modifying the `.FigureManagerBase` it could be possible to add
a parallel class, that handles the cases where
``rcParams['backend.multifigure'] = True``. This will warranty that
there won't be any problems with custom made backends, but also makes
diff --git a/doc/devel/MEP/MEP26.rst b/doc/devel/MEP/MEP26.rst
index 3aab11eff54c..dc09d9b9ff22 100644
--- a/doc/devel/MEP/MEP26.rst
+++ b/doc/devel/MEP/MEP26.rst
@@ -175,7 +175,7 @@ python cookbook gives a nice tokenizing recipe on page 66), applying
the syntax rules and constructing a ``Tree``. This requires defining the
grammar of the stylesheet (again, we can borrow from CSS) and writing
a parser. Happily, there is a recipe for this in the python cookbook
-aswell.
+as well.
Visitor pattern for matplotlib figure
diff --git a/doc/devel/MEP/MEP28.rst b/doc/devel/MEP/MEP28.rst
index d40ec555038b..631be1e2b548 100644
--- a/doc/devel/MEP/MEP28.rst
+++ b/doc/devel/MEP/MEP28.rst
@@ -146,7 +146,7 @@ These transformations can then be added to the call signature of
``Axes.boxplot`` with little impact to that method's complexity. This is
because they can be directly passed to ``cbook.boxplot_stats``.
Alternatively, ``Axes.boxplot`` could be modified to accept an optional
-statistical function kwarg and a dictionary of parameters to be direcly
+statistical function kwarg and a dictionary of parameters to be directly
passed to it.
At this point in the implementation users and external libraries like
diff --git a/doc/devel/gitwash/configure_git.rst b/doc/devel/gitwash/configure_git.rst
index f260aa7462d5..eb7ce2662c93 100644
--- a/doc/devel/gitwash/configure_git.rst
+++ b/doc/devel/gitwash/configure_git.rst
@@ -156,7 +156,7 @@ and it gives graph / text output something like this (but with color!):
| * 4aff2a8 - fixed bug 35, and added a test in test_bugfixes (2 weeks ago) [Hugo]
|/
* a7ff2e5 - Added notes on discussion/proposal made during Data Array Summit. (2 weeks ago) [Corran Webster]
- * 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
+ * 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
* 376adbd - Merge pull request #46 from terhorst/master (2 weeks ago) [Jonathan Terhorst]
|\
| * b605216 - updated joshu example to current api (3 weeks ago) [Jonathan Terhorst]
diff --git a/doc/devel/min_dep_policy.rst b/doc/devel/min_dep_policy.rst
index 8a9a941b8d88..e4921a756018 100644
--- a/doc/devel/min_dep_policy.rst
+++ b/doc/devel/min_dep_policy.rst
@@ -35,19 +35,18 @@ See also the :ref:`list-of-dependency-min-versions`.
Python Dependencies
===================
-For python dependencies we should support at least:
+For Python dependencies we should support at least:
with compiled extensions
- minor versions initially released in the 24 months prior to our
- planned release date or the oldest that support our minimum python +
- numpy
+ minor versions initially released in the 24 months prior to our planned
+ release date or the oldest that support our minimum Python + NumPy
without complied extensions
- minor versions initially released in the 12 months prior to our
- planed release date or the oldest that supports our minimum python.
+ minor versions initially released in the 12 months prior to our planned
+ release date or the oldest that supports our minimum Python.
-We will only bump these dependencies as we need new features or the
-old versions no longer support our minimum numpy or python.
+We will only bump these dependencies as we need new features or the old
+versions no longer support our minimum NumPy or Python.
Test and Documentation Dependencies
===================================
diff --git a/doc/devel/release_guide.rst b/doc/devel/release_guide.rst
index 8b5378b290b7..aac6fe5438fc 100644
--- a/doc/devel/release_guide.rst
+++ b/doc/devel/release_guide.rst
@@ -107,7 +107,7 @@ For the "what's new",
1. copy the current content to a file in :file:`doc/users/prev_whats_new`
2. merge all of the files in :file:`doc/users/next_whats_new/` into
:file:`doc/users/whats_new.rst` and delete the individual files
- 3. comment out the next whats new glob at the top
+ 3. comment out the next what's new glob at the top
Similarly for the "API changes",
diff --git a/doc/sphinxext/missing_references.py b/doc/sphinxext/missing_references.py
index 7b97576f6417..1f4dd2b2fa90 100644
--- a/doc/sphinxext/missing_references.py
+++ b/doc/sphinxext/missing_references.py
@@ -137,7 +137,7 @@ def _truncate_location(location):
Cuts off anything after the first colon in location strings.
This allows for easy comparison even when line numbers chagne
- (as they do regularily).
+ (as they do regularly).
"""
return location.split(":", 1)[0]
diff --git a/doc/thirdpartypackages/index.rst b/doc/thirdpartypackages/index.rst
index cb5f46e54abf..7fd6257df986 100644
--- a/doc/thirdpartypackages/index.rst
+++ b/doc/thirdpartypackages/index.rst
@@ -121,7 +121,7 @@ diagrams.
mpl-probscale
=============
`mpl-probscale `_ is a small extension
-that allows Matplotlib users to specify probabilty scales. Simply importing the
+that allows Matplotlib users to specify probability scales. Simply importing the
``probscale`` module registers the scale with Matplotlib, making it accessible
via e.g., ``ax.set_xscale('prob')`` or ``plt.yscale('prob')``.
@@ -311,8 +311,8 @@ sviewgui
`sviewgui `_ is a PyQt-based GUI for
visualisation of data from csv files or `pandas.DataFrame`\s. Main features:
-- Scatter, line, density, histgram, and box plot types
-- Settings for the marker size, line width, number of bins of histgram,
+- Scatter, line, density, histogram, and box plot types
+- Settings for the marker size, line width, number of bins of histogram,
color map (from cmocean)
- Save figure as editable PDF
- Code of the plotted graph is available so that it can be reused and modified
diff --git a/doc/users/prev_whats_new/changelog.rst b/doc/users/prev_whats_new/changelog.rst
index e782ff539059..08f034a60bde 100644
--- a/doc/users/prev_whats_new/changelog.rst
+++ b/doc/users/prev_whats_new/changelog.rst
@@ -95,7 +95,7 @@ the `API changes <../../api/api_changes.html>`_.
2014-02-25 In backend_qt4agg changed from using update -> repaint under
windows. See comment in source near ``self._priv_update`` for
- longer explaination.
+ longer explanation.
2014-03-27 Added tests for pie ccw parameter. Removed pdf and svg images
from tests for pie linewidth parameter.
@@ -135,7 +135,7 @@ the `API changes <../../api/api_changes.html>`_.
2014-02-25 In backend_qt4agg changed from using update -> repaint under
windows. See comment in source near ``self._priv_update`` for
- longer explaination.
+ longer explanation.
2014-01-02 `~.Axes.triplot` now returns the artist it adds and support of line and
marker kwargs has been improved. GBY
@@ -614,7 +614,7 @@ the `API changes <../../api/api_changes.html>`_.
in sf bug 2949906 and 2123566. Note that volume is not adjusted
because the Yahoo CSV does not distinguish between share
split and dividend adjustments making it near impossible to
- get volume adjustement right (unless we want to guess based
+ get volume adjustment right (unless we want to guess based
on the size of the adjustment or scrape the html tables,
which we don't) - JDH
@@ -652,7 +652,7 @@ the `API changes <../../api/api_changes.html>`_.
2010-04-06 rebase axes_grid using axes_grid1 and axisartist modules. -JJL
-2010-04-06 axes_grid toolkit is splitted into two separate modules,
+2010-04-06 axes_grid toolkit is split into two separate modules,
axes_grid1 and axisartist. -JJL
2010-04-05 Speed up import: import pytz only if and when it is
@@ -864,7 +864,7 @@ the `API changes <../../api/api_changes.html>`_.
2009-09-07 AxesGrid : implemented axisline style.
Added a demo examples/axes_grid/demo_axisline_style.py- JJL
-2009-09-04 Make the textpath class as a separate moduel
+2009-09-04 Make the textpath class as a separate module
(textpath.py). Add support for mathtext and tex.- JJL
2009-09-01 Added support for Gouraud interpolated triangles.
@@ -978,7 +978,7 @@ the `API changes <../../api/api_changes.html>`_.
and np.load for binary numpy arrays. - JDH
2009-07-31 Added cbook.get_sample_data for urllib enabled fetching and
- cacheing of data needed for examples. See
+ caching of data needed for examples. See
examples/misc/sample_data_demo.py - JDH
2009-07-31 Tagging 0.99.0.rc1 at 7314 - MGD
@@ -1114,7 +1114,7 @@ the `API changes <../../api/api_changes.html>`_.
2009-05-13 psfrag in backend_ps now uses baseline-alignment
when preview.sty is used ((default is
- bottom-alignment). Also, a small api imporvement
+ bottom-alignment). Also, a small API improvement
in OffsetBox-JJL
2009-05-13 When the x-coordinate of a line is monotonically
@@ -1355,8 +1355,8 @@ the `API changes <../../api/api_changes.html>`_.
2008-12-19 Add axes_locator attribute in Axes. Two examples are added.
- JJL
-2008-12-19 Update Axes.legend documnetation. /api/api_changes.rst is also
- updated to describe chages in keyword parameters.
+2008-12-19 Update Axes.legend documentation. /api/api_changes.rst is also
+ updated to describe changes in keyword parameters.
Issue a warning if old keyword parameters are used. - JJL
2008-12-18 add new arrow style, a line + filled triangles. -JJL
@@ -1380,7 +1380,7 @@ the `API changes <../../api/api_changes.html>`_.
-JJL
2008-12-17 Add group id support in artist. Two examples which
- demostrate svg filter are added. -JJL
+ demonstrate svg filter are added. -JJL
2008-12-16 Another attempt to fix dpi-dependent behavior of Legend. -JJL
@@ -1390,7 +1390,7 @@ the `API changes <../../api/api_changes.html>`_.
of markers - JDH
2008-12-15 Removed mpl_data symlink in docs. On platforms that do not
support symlinks, these become copies, and the font files
- are large, so the distro becomes unneccessarily bloaded.
+ are large, so the distro becomes unnecessarily bloated.
Keeping the mpl_examples dir because relative links are
harder for the plot directive and the \*.py files are not so
large. - JDH
@@ -1422,7 +1422,7 @@ the `API changes <../../api/api_changes.html>`_.
http://www.voidspace.org.uk/python/configobj.html
-2008-12-12 Added support to asign labels to histograms of multiple
+2008-12-12 Added support to assign labels to histograms of multiple
data. - MM
-------------------------
@@ -1449,8 +1449,8 @@ the `API changes <../../api/api_changes.html>`_.
difficult to use some of the interactive doc helpers, e.g.,
setp and getp. Having all the rest markup in the ipython
shell also confused the docstrings. I added a new rc param
- docstring.harcopy, to format the docstrings differently for
- hardcopy and other use. Ther ArtistInspector could use a
+ docstring.hardcopy, to format the docstrings differently for
+ hard copy and other use. The ArtistInspector could use a
little refactoring now since there is duplication of effort
between the rest out put and the non-rest output - JDH
@@ -1482,19 +1482,19 @@ the `API changes <../../api/api_changes.html>`_.
styles are added. -JJL
2008-12-02 Fixed a bug in the new legend class that didn't allowed
- a tuple of coordinate vlaues as loc. -JJL
+ a tuple of coordinate values as loc. -JJL
2008-12-02 Improve checks for external dependencies, using subprocess
(instead of deprecated popen*) and distutils (for version
checking) - DSD
-2008-11-30 Reimplementation of the legend which supports baseline alignement,
+2008-11-30 Reimplementation of the legend which supports baseline alignment,
multi-column, and expand mode. - JJL
2008-12-01 Fixed histogram autoscaling bug when bins or range are given
explicitly (fixes Debian bug 503148) - MM
-2008-11-25 Added rcParam axes.unicode_minus which allows plain hypen
+2008-11-25 Added rcParam axes.unicode_minus which allows plain hyphen
for minus when False - JDH
2008-11-25 Added scatterpoints support in Legend. patch by Erik
@@ -2203,7 +2203,7 @@ the `API changes <../../api/api_changes.html>`_.
2007-11-08 Made pylab use straight numpy instead of oldnumeric
by default - EF
-2007-11-08 Added additional record array utilites to mlab (rec2excel,
+2007-11-08 Added additional record array utilities to mlab (rec2excel,
rec2gtk, rec_join, rec_append_field, rec_drop_field) - JDH
2007-11-08 Updated pytz to version 2007g - DSD
@@ -2223,10 +2223,10 @@ the `API changes <../../api/api_changes.html>`_.
2007-11-05 Added easy access to minor tick properties; slight mod
of patch by Pierre G-M - EF
-2007-11-02 Commited Phil Thompson's patch 1599876, fixes to Qt4Agg
+2007-11-02 Committed Phil Thompson's patch 1599876, fixes to Qt4Agg
backend and qt4 blitting demo - DSD
-2007-11-02 Commited Phil Thompson's patch 1599876, fixes to Qt4Agg
+2007-11-02 Committed Phil Thompson's patch 1599876, fixes to Qt4Agg
backend and qt4 blitting demo - DSD
2007-10-31 Made log color scale easier to use with contourf;
@@ -2627,7 +2627,7 @@ the `API changes <../../api/api_changes.html>`_.
inputenc LaTeX packages. - ADS
2007-04-23 Fixed some problems with polar -- added general polygon
- clipping to clip the lines a nd grids to the polar axes.
+ clipping to clip the lines and grids to the polar axes.
Added support for set_rmax to easily change the maximum
radial grid. Added support for polar legend - JDH
@@ -3171,7 +3171,7 @@ the `API changes <../../api/api_changes.html>`_.
2006-06-29 Added a Qt4Agg backend. Thank you James Amundson - DSD
-2006-06-26 Fixed a usetex bug. On windows, usetex will prcess
+2006-06-26 Fixed a usetex bug. On Windows, usetex will process
postscript output in the current directory rather than
in a temp directory. This is due to the use of spaces
and tildes in windows paths, which cause problems with
@@ -3333,7 +3333,7 @@ the `API changes <../../api/api_changes.html>`_.
directory, rather than in the user's current working
directory - DSD
-2006-04-05 Apllied Ken's wx deprecation warning patch closing sf patch
+2006-04-05 Applied Ken's wx deprecation warning patch closing sf patch
#1465371 - JDH
2006-04-05 Added support for the new API in the postscript backend.
@@ -3611,7 +3611,7 @@ the `API changes <../../api/api_changes.html>`_.
2006-01-24 Released 0.86.2
2006-01-20 Added a converters dict to pylab load to convert selected
- coloumns to float -- especially useful for files with date
+ columns to float -- especially useful for files with date
strings, uses a datestr2num converter - JDH
2006-01-20 Added datestr2num to matplotlib dates to convert a string
@@ -3945,7 +3945,7 @@ the `API changes <../../api/api_changes.html>`_.
non-writable dirs.
2005-07-05 Fixed bug #1231611 in subplots adjust layout. The problem
- was that the text cacheing mechanism was not using the
+ was that the text caching mechanism was not using the
transformation affine in the key. - JDH
2005-07-05 Fixed default backend import problem when using API (SF bug
@@ -4275,12 +4275,12 @@ the `API changes <../../api/api_changes.html>`_.
2005-03-16 Fixed tick on horiz colorbar - JDH
-2005-03-16 Added Japanses winreg patch - JDH
+2005-03-16 Added Japanese winreg patch - JDH
2005-03-15 backend_gtkagg.py: changed to use double buffering, this fixes
the problem reported Joachim Berdal Haga - "Parts of plot lagging
from previous frame in animation". Tested with anim.py and it makes
- no noticable difference to performance (23.7 before, 23.6 after)
+ no noticeable difference to performance (23.7 before, 23.6 after)
- SC
2005-03-14 add src/_backend_gdk.c extension to provide a substitute function
@@ -4418,7 +4418,7 @@ the `API changes <../../api/api_changes.html>`_.
2005-02-02 Incorporated Fernando's matshow - JDH
-2005-02-01 Added Fernando's figure num patch, including experemental
+2005-02-01 Added Fernando's figure num patch, including experimental
support for pylab backend switching, LineCOllection.color
warns, savefig now a figure method, fixed a close(fig) bug
- JDH
@@ -5120,7 +5120,7 @@ the `API changes <../../api/api_changes.html>`_.
2004-05-28 added colorbar - JDH
2004-05-28 Made some changes to the matplotlib.colors.Colormap to
- propertly support clim - JDH
+ properly support clim - JDH
-----------------------------------------------------------------
@@ -5136,7 +5136,7 @@ the `API changes <../../api/api_changes.html>`_.
2004-05-25 Tweaked TkAgg backend so that canvas.draw() works
more like the other backends. Fixed a bug resulting
- in 2 draws per figure mangager show(). - JTM
+ in 2 draws per figure manager show(). - JTM
------------------------------------------------------------
@@ -5155,7 +5155,7 @@ the `API changes <../../api/api_changes.html>`_.
in numerix which maps type names onto typecodes
the same way for both numarray and Numeric. This
undoes my previous change immediately below. To get a
- typename for Int16 useable in a Numeric extension:
+ typename for Int16 usable in a Numeric extension:
say nx.Int16. - JTM
2004-05-15 Rewrote transformation class in extension code, simplified
@@ -5244,7 +5244,7 @@ the `API changes <../../api/api_changes.html>`_.
2004-04-08 Fixed viewlim set problem on axes and axis. - JDH
-2004-04-07 Added validate_comma_sep_str and font properties paramaters to
+2004-04-07 Added validate_comma_sep_str and font properties parameters to
__init__. Removed font families and added rcParams to
FontProperties __init__ arguments in font_manager. Added
default font property parameters to .matplotlibrc file with
@@ -5292,7 +5292,7 @@ This is the Old, stale, never used changelog
2002-12-11 - Added a measurement dialog to the figure window to
measure axes position and the delta x delta y with a left
mouse drag. These defaults can be overridden by deriving
- from Figure and overrriding button_press_event,
+ from Figure and overriding button_press_event,
button_release_event, and motion_notify_event,
and _dialog_measure_tool.
@@ -5356,7 +5356,7 @@ This is the Old, stale, never used changelog
Fixed bugs i figure text with font override dictionairies and fig
text that was placed outside the window bounding box
-2003-09-1 thru 2003-09-15
+2003-09-1 through 2003-09-15
Added a postscript and a GD module backend
@@ -5415,7 +5415,7 @@ This is the Old, stale, never used changelog
2003-11-14 Fixed legend positioning bug and added new position args
-2003-11-16 Finsihed porting GD to new axes API
+2003-11-16 Finished porting GD to new axes API
2003-11-20 - add TM for matlab on website and in docs
diff --git a/doc/users/prev_whats_new/github_stats_3.0.2.rst b/doc/users/prev_whats_new/github_stats_3.0.2.rst
index ca418b5af571..edafac67e192 100644
--- a/doc/users/prev_whats_new/github_stats_3.0.2.rst
+++ b/doc/users/prev_whats_new/github_stats_3.0.2.rst
@@ -180,7 +180,7 @@ Pull Requests (224):
* :ghpull:`12369`: Improved exception handling on animation failure
* :ghpull:`12460`: Deprecate RendererBase.strip_math.
* :ghpull:`12457`: Fix tutorial typos.
-* :ghpull:`12453`: Rollback erronous commit to whats_new.rst from #10746
+* :ghpull:`12453`: Rollback erroneous commit to whats_new.rst from #10746
* :ghpull:`12452`: Minor updates to the FAQ.
* :ghpull:`10746`: Adjusted matplotlib.widgets.Slider to have optional vertical orientatation
* :ghpull:`12441`: Get rid of a signed-compare warning.
@@ -189,7 +189,7 @@ Pull Requests (224):
* :ghpull:`12434`: Clarify documentation for textprops keyword parameter of TextArea
* :ghpull:`12427`: Document Artist.get_cursor_data
* :ghpull:`12277`: FIX: datetime64 now recognized if in a list
-* :ghpull:`10322`: Use np.hypot whereever possible.
+* :ghpull:`10322`: Use np.hypot wherever possible.
* :ghpull:`12423`: Minor simplifications to backend_svg.
* :ghpull:`12293`: Make pyplot more tolerant wrt. 3rd-party subclasses.
* :ghpull:`12360`: Replace axes_grid by axes_grid1 in test
@@ -216,7 +216,7 @@ Pull Requests (224):
* :ghpull:`12351`: dviread: find_tex_file: Ensure the encoding on windows
* :ghpull:`12244`: Merge barchart examples.
* :ghpull:`12372`: Remove two examples.
-* :ghpull:`12214`: Improve docstring of Annoation
+* :ghpull:`12214`: Improve docstring of Annotation
* :ghpull:`12347`: DOC: add_child_axes to axes_api.rst
* :ghpull:`12304`: TST: Merge Qt tests into one file.
* :ghpull:`12321`: maint: setupext.py for freetype had a Catch case for missing ft2build.h
@@ -259,7 +259,7 @@ Pull Requests (224):
* :ghpull:`12236`: Make boilerplate-generated pyplot.py flake8 compliant
* :ghpull:`12231`: CI: Speed up Appveyor repository cloning
* :ghpull:`12228`: Fix trivial typo in docs.
-* :ghpull:`12227`: Use (float, float) as paramter type for 2D positions
+* :ghpull:`12227`: Use (float, float) as parameter type for 2D positions
* :ghpull:`12199`: Allow disabling specific mouse actions in blocking_input
* :ghpull:`12213`: Change win32InstalledFonts return value
* :ghpull:`12207`: FIX: dont' check for interactive framework if none required
@@ -277,7 +277,7 @@ Pull Requests (224):
* :ghpull:`12164`: Fix Annotation.contains.
* :ghpull:`12177`: FIX: remove cwd from mac font path search
* :ghpull:`12182`: Fix Flash of Unstyled Content by removing remaining Flipcause integration
-* :ghpull:`12184`: DOC: update "Previous Whats New" for 2.2 with reference to cividis paper
+* :ghpull:`12184`: DOC: update "Previous What's New" for 2.2 with reference to cividis paper
* :ghpull:`12183`: Doc: Don't use Sphinx 1.8
* :ghpull:`12171`: Remove internal warning due to zsort deprecation
* :ghpull:`12166`: Document preference order for backend auto selection
@@ -380,7 +380,7 @@ Issues (170):
* :ghissue:`12505`: ImageGrid in 3.0
* :ghissue:`12502`: How can I put the ticks of logarithmic coordinate in the axes?
* :ghissue:`12496`: Maplotlib Can't Plot a Dataset
-* :ghissue:`12486`: rotate lable of legend ?
+* :ghissue:`12486`: rotate label of legend ?
* :ghissue:`12291`: Importing pyplot crashes on macOS due to missing fontlist-v300.json and then Permission denied: '/opt/local/share/fonts'
* :ghissue:`12480`: "close_event" for nbagg/notebook backend
* :ghissue:`12467`: Documentation of AnchoredText's prop keyword argument is misleading
diff --git a/doc/users/prev_whats_new/github_stats_3.1.0.rst b/doc/users/prev_whats_new/github_stats_3.1.0.rst
index 5972417037a5..704de6d09932 100644
--- a/doc/users/prev_whats_new/github_stats_3.1.0.rst
+++ b/doc/users/prev_whats_new/github_stats_3.1.0.rst
@@ -256,7 +256,7 @@ Pull Requests (918):
* :ghpull:`13989`: FIX: update not replace hist_kwargs when density is passed
* :ghpull:`13975`: Backport PR #13966 on branch v3.1.x (Fix colorbar setting without artist)
* :ghpull:`13976`: Backport PR #13973 on branch v3.1.x (BUG: Ensure docstrings are not accessed with -OO)
-* :ghpull:`13856`: Whats new page for 3.1
+* :ghpull:`13856`: What's new page for 3.1
* :ghpull:`13966`: Fix colorbar setting without artist
* :ghpull:`13973`: BUG: Ensure docstrings are not accessed with -OO
* :ghpull:`13969`: Backport PR #13950 on branch v3.1.x (confidence_ellipse_markup)
@@ -411,10 +411,10 @@ Pull Requests (918):
* :ghpull:`13612`: Improve Demo Text Rotation Mode
* :ghpull:`13636`: Backport PR #13621 on branch v3.1.x (Remove ``asfileobj=False`` from a bunch of examples loading sample_data.)
* :ghpull:`13635`: Backport PR #13632 on branch v3.1.x (Clarify tick collision API change doc.)
-* :ghpull:`13634`: Backport PR #13631 on branch v3.1.x (Swicth deprecation of Tick.label to pending.)
+* :ghpull:`13634`: Backport PR #13631 on branch v3.1.x (Switch deprecation of Tick.label to pending.)
* :ghpull:`13621`: Remove ``asfileobj=False`` from a bunch of examples loading sample_data.
* :ghpull:`13632`: Clarify tick collision API change doc.
-* :ghpull:`13631`: Swicth deprecation of Tick.label to pending.
+* :ghpull:`13631`: Switch deprecation of Tick.label to pending.
* :ghpull:`13628`: Backport PR #13603 on branch v3.1.x
* :ghpull:`13603`: FIX: continue to bail tight layout if rect supplied
* :ghpull:`13627`: Backport PR #13622 on branch v3.1.x (Change title of named colors example)
@@ -922,7 +922,7 @@ Pull Requests (918):
* :ghpull:`12466`: np.fromstring -> np.frombuffer.
* :ghpull:`12369`: Improved exception handling on animation failure
* :ghpull:`12460`: Deprecate RendererBase.strip_math.
-* :ghpull:`12453`: Rollback erronous commit to whats_new.rst from #10746
+* :ghpull:`12453`: Rollback erroneous commit to whats_new.rst from #10746
* :ghpull:`12452`: Minor updates to the FAQ.
* :ghpull:`10746`: Adjusted matplotlib.widgets.Slider to have optional vertical orientatation
* :ghpull:`12441`: Get rid of a signed-compare warning.
@@ -930,7 +930,7 @@ Pull Requests (918):
* :ghpull:`12435`: Fix numpydoc parameter formatting
* :ghpull:`12434`: Clarify documentation for textprops keyword parameter of TextArea
* :ghpull:`12427`: Document Artist.get_cursor_data
-* :ghpull:`10322`: Use np.hypot whereever possible.
+* :ghpull:`10322`: Use np.hypot wherever possible.
* :ghpull:`10809`: Fix for scatter not showing points with valid x/y but invalid color
* :ghpull:`12423`: Minor simplifications to backend_svg.
* :ghpull:`10356`: fix detecting which artist(s) the mouse is over
@@ -996,7 +996,7 @@ Pull Requests (918):
* :ghpull:`12139`: Unbreak build re: mplot3d style.
* :ghpull:`11367`: Raise TypeError on unsupported kwargs of spy()
* :ghpull:`9990`: Fix and document lightsource argument in mplot3d
-* :ghpull:`12124`: Correctly infer units from emtpy arrays
+* :ghpull:`12124`: Correctly infer units from empty arrays
* :ghpull:`11994`: Cleanup unused variables and imports
* :ghpull:`12122`: MNT: re-add cbook import art3d
* :ghpull:`12086`: FIX: make MaxNLocator only follow visible ticks for order of magnitude
@@ -1044,7 +1044,7 @@ Pull Requests (918):
* :ghpull:`11980`: Remove __version__numpy__; simplify dependencies check.
* :ghpull:`11982`: Remove and old keyword documentation.
* :ghpull:`11981`: Some extra typos
-* :ghpull:`11979`: Fix a couple of typoes.
+* :ghpull:`11979`: Fix a couple of typos.
* :ghpull:`11959`: cbook.iterable -> np.iterable.
* :ghpull:`11965`: Move the removal of the -Wstrict-prototypes flag to setup.py.
* :ghpull:`11958`: Remove unused code
diff --git a/doc/users/prev_whats_new/github_stats_3.2.0.rst b/doc/users/prev_whats_new/github_stats_3.2.0.rst
index c319158893c0..2c6562a50ba2 100644
--- a/doc/users/prev_whats_new/github_stats_3.2.0.rst
+++ b/doc/users/prev_whats_new/github_stats_3.2.0.rst
@@ -338,7 +338,7 @@ Pull Requests (839):
* :ghpull:`15759`: Backport PR #15751 on branch v3.2.x (Modernize FAQ entry for plt.show().)
* :ghpull:`15762`: Backport PR #15752 on branch v3.2.x (Update boxplot/violinplot faq.)
* :ghpull:`15755`: Backport PR #15661 on branch v3.2.x (Document scope of 3D scatter depthshading.)
-* :ghpull:`15742`: Backport PR #15729 on branch v3.2.x (Catch correct parse errror type for dateutil >= 2.8.1)
+* :ghpull:`15742`: Backport PR #15729 on branch v3.2.x (Catch correct parse error type for dateutil >= 2.8.1)
* :ghpull:`15738`: Backport PR #15737 on branch v3.2.x (Fix env override in WebAgg backend test.)
* :ghpull:`15724`: Backport PR #15718 on branch v3.2.x (Update donation link)
* :ghpull:`15716`: Backport PR #15683 on branch v3.2.x (Cleanup dates.py docstrings.)
@@ -668,7 +668,7 @@ Pull Requests (839):
* :ghpull:`14713`: Unite masked and NaN plot examples
* :ghpull:`14576`: Let Axes3D share have_units, _on_units_changed with 2d axes.
* :ghpull:`14575`: Make ticklabel_format work both for 2D and 3D axes.
-* :ghpull:`14834`: DOC: Webpage not formated correctly on gallery docs
+* :ghpull:`14834`: DOC: Webpage not formatted correctly on gallery docs
* :ghpull:`14730`: Factor out common parts of wx event handlers.
* :ghpull:`14727`: Fix axes aspect for non-linear, non-log, possibly mixed-scale axes.
* :ghpull:`14835`: Only allow set_adjustable("datalim") for axes with standard data ratios.
@@ -702,7 +702,7 @@ Pull Requests (839):
* :ghpull:`14799`: Deprecate dates.mx2num.
* :ghpull:`14793`: Remove sudo tag in travis
* :ghpull:`14795`: Autodetect whether a canvas class supports blitting.
-* :ghpull:`14794`: DOC: Update the documetation of homepage of website
+* :ghpull:`14794`: DOC: Update the documentation of homepage of website
* :ghpull:`14629`: Delete HTML build sources to save on artefact upload time
* :ghpull:`14792`: Fix spelling typos
* :ghpull:`14789`: Prefer Affine2D.translate to offset_transform in examples.
@@ -1101,7 +1101,7 @@ Issues (125):
* :ghissue:`13033`: 'NoneType' has no attribute '_alive' when using plt in a context manager
* :ghissue:`13891`: Blurry app icon on macOS
* :ghissue:`14656`: Axes title default color
-* :ghissue:`14831`: DOC: Webpage not formated correctly on gallery docs
+* :ghissue:`14831`: DOC: Webpage not formatted correctly on gallery docs
* :ghissue:`13819`: Aspect ratio for not so common scales
* :ghissue:`8878`: Setting aspect ratio for semi-log plots
* :ghissue:`4900`: UnboundLocalError: local variable 'aspect_scale_mode' referenced before assignment
diff --git a/doc/users/prev_whats_new/whats_new_0.98.4.rst b/doc/users/prev_whats_new/whats_new_0.98.4.rst
index 01f9fe117c0c..96f8768a99d8 100644
--- a/doc/users/prev_whats_new/whats_new_0.98.4.rst
+++ b/doc/users/prev_whats_new/whats_new_0.98.4.rst
@@ -35,7 +35,7 @@ multiple columns and rows, as well as fancy box drawing. See
:align: center
:scale: 50
- Whats New 98 4 Legend
+ What's New 98 4 Legend
.. _fancy-annotations:
@@ -150,7 +150,7 @@ where you want to do the filling.
:align: center
:scale: 50
- Whats New 98 4 Fill Between
+ What's New 98 4 Fill Between
Lots more
---------
diff --git a/doc/users/prev_whats_new/whats_new_0.99.rst b/doc/users/prev_whats_new/whats_new_0.99.rst
index 2ffebe153eb6..2a74e39e6b55 100644
--- a/doc/users/prev_whats_new/whats_new_0.99.rst
+++ b/doc/users/prev_whats_new/whats_new_0.99.rst
@@ -34,7 +34,7 @@ installs). See :ref:`mplot3d-examples-index` and
:align: center
:scale: 50
- Whats New 99 Mplot3d
+ What's New 99 Mplot3d
.. _whats-new-axes-grid:
@@ -53,7 +53,7 @@ new mpl installs. See :ref:`axes_grid1-examples-index`,
:align: center
:scale: 50
- Whats New 99 Axes Grid
+ What's New 99 Axes Grid
.. _whats-new-spine:
@@ -73,4 +73,4 @@ well as "detach" the spine to offset it away from the data. See
:align: center
:scale: 50
- Whats New 99 Spines
+ What's New 99 Spines
diff --git a/doc/users/prev_whats_new/whats_new_1.0.rst b/doc/users/prev_whats_new/whats_new_1.0.rst
index 0dd53cfd0133..4f0a6fc47039 100644
--- a/doc/users/prev_whats_new/whats_new_1.0.rst
+++ b/doc/users/prev_whats_new/whats_new_1.0.rst
@@ -97,7 +97,7 @@ argument to add_axes or add_subplot. Thanks Ben Root.
:align: center
:scale: 50
- Whats New 1 Subplot3d
+ What's New 1 Subplot3d
tick_params
------------
diff --git a/doc/users/prev_whats_new/whats_new_1.5.rst b/doc/users/prev_whats_new/whats_new_1.5.rst
index f860fd85e7e1..e62721ecde6d 100644
--- a/doc/users/prev_whats_new/whats_new_1.5.rst
+++ b/doc/users/prev_whats_new/whats_new_1.5.rst
@@ -622,7 +622,7 @@ backends include a `ToolContainer` called `toolbar`
be treated as experimental until further notice as API changes will occur.
For the moment the `.ToolManager` works only with the GTK3 and Tk backends.
Make sure you use one of those.
- Port for the rest of the backends is comming soon.
+ Port for the rest of the backends is coming soon.
To activate the `.ToolManager` include the following at the top of your file ::
diff --git a/doc/users/prev_whats_new/whats_new_2.2.rst b/doc/users/prev_whats_new/whats_new_2.2.rst
index ccb43e3c1056..41f28ff72b17 100644
--- a/doc/users/prev_whats_new/whats_new_2.2.rst
+++ b/doc/users/prev_whats_new/whats_new_2.2.rst
@@ -79,7 +79,7 @@ Only labels that have the same subplot locations are aligned. i.e. the
ylabels are aligned only if the subplots are in the same column of the
subplot layout.
-Alignemnt is persistent and automatic after these are called.
+Alignment is persistent and automatic after these are called.
A convenience wrapper `.Figure.align_labels` calls both functions at once.
diff --git a/doc/users/whats_new.rst b/doc/users/whats_new.rst
index f5f4497a7ea0..58bb464e21d8 100644
--- a/doc/users/whats_new.rst
+++ b/doc/users/whats_new.rst
@@ -1,8 +1,8 @@
.. _whats-new:
-=========
-Whats New
-=========
+==========
+What's New
+==========
.. ifconfig:: releaselevel == 'dev'
diff --git a/examples/lines_bars_and_markers/eventplot_demo.py b/examples/lines_bars_and_markers/eventplot_demo.py
index 2f97606ce32e..48ea3a6a4fdf 100644
--- a/examples/lines_bars_and_markers/eventplot_demo.py
+++ b/examples/lines_bars_and_markers/eventplot_demo.py
@@ -38,7 +38,7 @@
linelengths=linelengths1, orientation='vertical')
# create another set of random data.
-# the gamma distribution is only used fo aesthetic purposes
+# the gamma distribution is only used for aesthetic purposes
data2 = np.random.gamma(4, size=[60, 50])
# use individual values for the parameters this time
diff --git a/examples/pyplots/whats_new_1_subplot3d.py b/examples/pyplots/whats_new_1_subplot3d.py
index a16a20a11bbd..6e304c2a94e2 100644
--- a/examples/pyplots/whats_new_1_subplot3d.py
+++ b/examples/pyplots/whats_new_1_subplot3d.py
@@ -1,7 +1,7 @@
"""
-=====================
-Whats New 1 Subplot3d
-=====================
+======================
+What's New 1 Subplot3d
+======================
Create two three-dimensional plots in the same figure.
"""
diff --git a/examples/pyplots/whats_new_98_4_legend.py b/examples/pyplots/whats_new_98_4_legend.py
index 0252245a0be1..6995fe281ac7 100644
--- a/examples/pyplots/whats_new_98_4_legend.py
+++ b/examples/pyplots/whats_new_98_4_legend.py
@@ -1,7 +1,7 @@
"""
-=======================
-Whats New 0.98.4 Legend
-=======================
+========================
+What's New 0.98.4 Legend
+========================
Create a legend and tweak it with a shadow and a box.
"""
diff --git a/examples/pyplots/whats_new_99_axes_grid.py b/examples/pyplots/whats_new_99_axes_grid.py
index ac83d4f4aac5..1429e0d4d268 100644
--- a/examples/pyplots/whats_new_99_axes_grid.py
+++ b/examples/pyplots/whats_new_99_axes_grid.py
@@ -1,7 +1,7 @@
"""
-========================
-Whats New 0.99 Axes Grid
-========================
+=========================
+What's New 0.99 Axes Grid
+=========================
Create RGB composite images.
"""
diff --git a/examples/pyplots/whats_new_99_mplot3d.py b/examples/pyplots/whats_new_99_mplot3d.py
index 6a85c0a383c4..9c6cf2a82c79 100644
--- a/examples/pyplots/whats_new_99_mplot3d.py
+++ b/examples/pyplots/whats_new_99_mplot3d.py
@@ -1,7 +1,7 @@
"""
-======================
-Whats New 0.99 Mplot3d
-======================
+=======================
+What's New 0.99 Mplot3d
+=======================
Create a 3D surface plot.
"""
diff --git a/examples/pyplots/whats_new_99_spines.py b/examples/pyplots/whats_new_99_spines.py
index ef03892000c6..29aae70d85f7 100644
--- a/examples/pyplots/whats_new_99_spines.py
+++ b/examples/pyplots/whats_new_99_spines.py
@@ -1,7 +1,7 @@
"""
-=====================
-Whats New 0.99 Spines
-=====================
+======================
+What's New 0.99 Spines
+======================
"""
import matplotlib.pyplot as plt
diff --git a/examples/subplots_axes_and_figures/axes_box_aspect.py b/examples/subplots_axes_and_figures/axes_box_aspect.py
index aacac960c23e..6acfcb6046f9 100644
--- a/examples/subplots_axes_and_figures/axes_box_aspect.py
+++ b/examples/subplots_axes_and_figures/axes_box_aspect.py
@@ -93,7 +93,7 @@
# Square joint/marginal plot
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
#
-# It may be desireable to show marginal distributions next to a plot of joint
+# It may be desirable to show marginal distributions next to a plot of joint
# data. The following creates a square plot with the box aspect of the
# marginal axes being equal to the width- and height-ratios of the gridspec.
# This ensures that all axes align perfectly, independent on the size of the
diff --git a/examples/subplots_axes_and_figures/secondary_axis.py b/examples/subplots_axes_and_figures/secondary_axis.py
index 8d9a379876da..76f429f401fd 100644
--- a/examples/subplots_axes_and_figures/secondary_axis.py
+++ b/examples/subplots_axes_and_figures/secondary_axis.py
@@ -106,7 +106,7 @@ def inverse(x):
###########################################################################
# A final example translates np.datetime64 to yearday on the x axis and
-# from Celsius to Farenheit on the y axis:
+# from Celsius to Fahrenheit on the y axis:
dates = [datetime.datetime(2018, 1, 1) + datetime.timedelta(hours=k * 6)
diff --git a/examples/widgets/textbox.py b/examples/widgets/textbox.py
index 8154126b6133..c61ef74e4a7d 100644
--- a/examples/widgets/textbox.py
+++ b/examples/widgets/textbox.py
@@ -29,7 +29,7 @@ def submit(expression):
"""
Update the plotted function to the new math *expression*.
- *expession* is a string using "t" as its independent variable, e.g.
+ *expression* is a string using "t" as its independent variable, e.g.
"t ** 3".
"""
ydata = eval(expression)
diff --git a/lib/matplotlib/_version.py b/lib/matplotlib/_version.py
index 137ba1ecde6a..08dc9b6117f2 100644
--- a/lib/matplotlib/_version.py
+++ b/lib/matplotlib/_version.py
@@ -226,7 +226,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
# TAG-NUM-gHEX
mo = re.search(r'^(.+)-(\d+)-g([0-9a-f]+)$', git_describe)
if not mo:
- # unparseable. Maybe git-describe is misbehaving?
+ # unparsable. Maybe git-describe is misbehaving?
pieces["error"] = ("unable to parse git-describe output: '%s'"
% describe_out)
return pieces
diff --git a/lib/matplotlib/afm.py b/lib/matplotlib/afm.py
index dc7bbeb19672..ad3e41c08ce6 100644
--- a/lib/matplotlib/afm.py
+++ b/lib/matplotlib/afm.py
@@ -10,7 +10,7 @@
3) did more than needed and it was easier to write afresh rather than
figure out how to get just what was needed.
-It is pretty easy to use, and has no external depedencies:
+It is pretty easy to use, and has no external dependencies:
>>> import matplotlib as mpl
>>> from pathlib import Path
diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py
index 7e3223b046fc..3f9d7fede100 100644
--- a/lib/matplotlib/axes/_axes.py
+++ b/lib/matplotlib/axes/_axes.py
@@ -882,7 +882,7 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
--------
vlines : Add vertical lines in data coordinates.
axvspan : Add a vertical span (rectangle) across the axis.
- axline : Add a line with an abritrary slope.
+ axline : Add a line with an arbitrary slope.
Examples
--------
@@ -5106,7 +5106,7 @@ def _fill_between_x_or_y(
self, ind_dir, ind, dep1, dep2=0, *,
where=None, interpolate=False, step=None, **kwargs):
# Common implementation between fill_between (*ind_dir*="x") and
- # fill_betweenx (*ind_dir*="y"). *ind* is the indepedent variable,
+ # fill_betweenx (*ind_dir*="y"). *ind* is the independent variable,
# *dep* the dependent variable. The docstring below is interpolated
# to generate both methods' docstrings.
"""
diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py
index 6fdf67970abe..b61264f82d48 100644
--- a/lib/matplotlib/axes/_base.py
+++ b/lib/matplotlib/axes/_base.py
@@ -1430,7 +1430,7 @@ def set_adjustable(self, adjustable, share=False):
def get_box_aspect(self):
"""
Get the axes box aspect.
- Will be ``None`` if not explicitely specified.
+ Will be ``None`` if not explicitly specified.
See Also
--------
@@ -2533,7 +2533,7 @@ def handle_single_axis(scale, autoscaleon, shared_axes, interval,
# ignore non-finite data limits if good limits exist
finite_dl = [d for d in dl if np.isfinite(d).all()]
if len(finite_dl):
- # if finite limits exist for atleast one axis (and the
+ # if finite limits exist for at least one axis (and the
# other is infinite), restore the finite limits
x_finite = [d for d in dl
if (np.isfinite(d.intervalx).all() and
diff --git a/lib/matplotlib/axis.py b/lib/matplotlib/axis.py
index 03a4e7ea0f92..5637bdd3a676 100644
--- a/lib/matplotlib/axis.py
+++ b/lib/matplotlib/axis.py
@@ -1135,7 +1135,7 @@ def draw(self, renderer, *args, **kwargs):
# scale up the axis label box to also find the neighbors, not
# just the tick labels that actually overlap note we need a
- # *copy* of the axis label box because we don't wan't to scale
+ # *copy* of the axis label box because we don't want to scale
# the actual bbox
self._update_label_position(renderer)
diff --git a/lib/matplotlib/backend_managers.py b/lib/matplotlib/backend_managers.py
index fbaed053a9fe..375182d2efdf 100644
--- a/lib/matplotlib/backend_managers.py
+++ b/lib/matplotlib/backend_managers.py
@@ -237,7 +237,7 @@ def add_tool(self, name, tool, *args, **kwargs):
Add *tool* to `ToolManager`.
If successful, adds a new event ``tool_trigger_{name}`` where
- ``{name}`` is the *name* of the tool; the event is fired everytime the
+ ``{name}`` is the *name* of the tool; the event is fired every time the
tool is triggered.
Parameters
diff --git a/lib/matplotlib/colorbar.py b/lib/matplotlib/colorbar.py
index 8e250b14f030..09e7d3bd9e69 100644
--- a/lib/matplotlib/colorbar.py
+++ b/lib/matplotlib/colorbar.py
@@ -1108,7 +1108,7 @@ def _mesh(self):
# copy the norm and change the vmin and vmax to the vmin and
# vmax of the colorbar, not the norm. This allows the situation
# where the colormap has a narrower range than the colorbar, to
- # accomodate extra contours:
+ # accommodate extra contours:
norm = copy.copy(self.norm)
norm.vmin = self.vmin
norm.vmax = self.vmax
diff --git a/lib/matplotlib/contour.py b/lib/matplotlib/contour.py
index 40a1d2b0f62d..f353df37e126 100644
--- a/lib/matplotlib/contour.py
+++ b/lib/matplotlib/contour.py
@@ -1712,7 +1712,7 @@ def _initialize_x_y(self, z):
.. note::
- An exising `.QuadContourSet` does not get notified if
+ An existing `.QuadContourSet` does not get notified if
properties of its colormap are changed. Therefore, an explicit
call `.QuadContourSet.changed()` is needed after modifying the
colormap. The explicit call can be left out, if a colorbar is
diff --git a/lib/matplotlib/dates.py b/lib/matplotlib/dates.py
index 185f7dfa213d..23b21d7f20c2 100644
--- a/lib/matplotlib/dates.py
+++ b/lib/matplotlib/dates.py
@@ -655,7 +655,7 @@ def __init__(self, locator, tz=None, formats=None, offset_formats=None,
]
# fmt for zeros ticks at this level. These are
# ticks that should be labeled w/ info the level above.
- # like 1 Jan can just be labled "Jan". 02:02:00 can
+ # like 1 Jan can just be labelled "Jan". 02:02:00 can
# just be labeled 02:02.
if zero_formats:
if len(zero_formats) != 6:
diff --git a/lib/matplotlib/figure.py b/lib/matplotlib/figure.py
index e5c9eed646a5..8f31d9f69af3 100644
--- a/lib/matplotlib/figure.py
+++ b/lib/matplotlib/figure.py
@@ -1604,7 +1604,7 @@ def delaxes(self, ax):
def _reset_locators_and_formatters(axis):
# Set the formatters and locators to be associated with axis
# (where previously they may have been associated with another
- # Axis isntance)
+ # Axis instance)
#
# Because set_major_formatter() etc. force isDefault_* to be False,
# we have to manually check if the original formatter was a
diff --git a/lib/matplotlib/legend_handler.py b/lib/matplotlib/legend_handler.py
index b836a6eef93f..9512f51390c7 100644
--- a/lib/matplotlib/legend_handler.py
+++ b/lib/matplotlib/legend_handler.py
@@ -176,7 +176,7 @@ def get_xdata(self, legend, xdescent, ydescent, width, height, fontsize):
class HandlerNpointsYoffsets(HandlerNpoints):
"""
A legend handler that shows *numpoints* in the legend, and allows them to
- be individually offest in the y-direction.
+ be individually offset in the y-direction.
"""
def __init__(self, numpoints=None, yoffsets=None, **kw):
"""
diff --git a/lib/matplotlib/offsetbox.py b/lib/matplotlib/offsetbox.py
index 5600ad173f7c..d4c3340048eb 100644
--- a/lib/matplotlib/offsetbox.py
+++ b/lib/matplotlib/offsetbox.py
@@ -584,7 +584,8 @@ def __init__(self, child, pad=None, draw_frame=False, patch_attrs=None):
The contained `.Artist`.
pad : float
The padding in points. This will be scaled with the renderer dpi.
- In contrast *width* and *hight* are in *pixel* and thus not scaled.
+ In contrast *width* and *height* are in *pixels* and thus not
+ scaled.
draw_frame : bool
Whether to draw the contained `.FancyBboxPatch`.
patch_attrs : dict or None
@@ -923,7 +924,7 @@ class AuxTransformBox(OffsetBox):
"""
Offset Box with the aux_transform. Its children will be
transformed with the aux_transform first then will be
- offseted. The absolute coordinate of the aux_transform is meaning
+ offsetted. The absolute coordinate of the aux_transform is meaning
as it will be automatically adjust so that the left-lower corner
of the bounding box of children will be set to (0, 0) before the
offset transform.
diff --git a/lib/matplotlib/textpath.py b/lib/matplotlib/textpath.py
index f2bcdaff46ce..63284ea6d61d 100644
--- a/lib/matplotlib/textpath.py
+++ b/lib/matplotlib/textpath.py
@@ -103,7 +103,7 @@ def get_text_path(self, prop, s, ismath=False):
The text to be converted.
ismath : {False, True, "TeX"}
- If True, use mathtext parser. If "TeX", use tex for renderering.
+ If True, use mathtext parser. If "TeX", use tex for rendering.
Returns
-------
diff --git a/lib/matplotlib/widgets.py b/lib/matplotlib/widgets.py
index b3f70110482b..cea3e3f03057 100644
--- a/lib/matplotlib/widgets.py
+++ b/lib/matplotlib/widgets.py
@@ -2059,7 +2059,7 @@ def __init__(self, ax, onselect, drawtype='box',
def _press(self, event):
"""on button press event"""
- # make the drawed box/line visible get the click-coordinates,
+ # make the drawn box/line visible get the click-coordinates,
# button, ...
if self.interactive and self.to_draw.get_visible():
self._set_active_handle(event)
diff --git a/lib/mpl_toolkits/mplot3d/proj3d.py b/lib/mpl_toolkits/mplot3d/proj3d.py
index e325530b824a..cce89c5f3554 100644
--- a/lib/mpl_toolkits/mplot3d/proj3d.py
+++ b/lib/mpl_toolkits/mplot3d/proj3d.py
@@ -33,7 +33,7 @@ def world_transformation(xmin, xmax,
ymin, ymax,
zmin, zmax, pb_aspect=None):
"""
- Produce a matrix that scales homogenous coords in the specified ranges
+ Produce a matrix that scales homogeneous coords in the specified ranges
to [0, 1], or [0, pb_aspect[i]] if the plotbox aspect ratio is specified.
"""
dx = xmax - xmin
diff --git a/src/_path.h b/src/_path.h
index edba0db199d3..f1acbb937753 100644
--- a/src/_path.h
+++ b/src/_path.h
@@ -817,7 +817,7 @@ int count_bboxes_overlapping_bbox(agg::rect_d &a, BBoxArray &bboxes)
inline bool isclose(double a, double b)
{
// relative and absolute tolerance values are chosen empirically
- // it looks the atol value matters here bacause of round-off errors
+ // it looks the atol value matters here because of round-off errors
const double rtol = 1e-10;
const double atol = 1e-13;
diff --git a/src/_tkmini.h b/src/_tkmini.h
index 082a9f82eeb5..d99b73291987 100644
--- a/src/_tkmini.h
+++ b/src/_tkmini.h
@@ -67,7 +67,7 @@ extern "C" {
#endif
/*
- * Users of versions of Tcl >= 8.6 encouraged to tread Tcl_Interp as an opaque
+ * Users of versions of Tcl >= 8.6 encouraged to treat Tcl_Interp as an opaque
* pointer. The following definition results when TCL_NO_DEPRECATED defined.
*/
typedef struct Tcl_Interp Tcl_Interp;
diff --git a/tutorials/colors/colormap-manipulation.py b/tutorials/colors/colormap-manipulation.py
index f312b181b017..19e66551e07a 100644
--- a/tutorials/colors/colormap-manipulation.py
+++ b/tutorials/colors/colormap-manipulation.py
@@ -234,7 +234,7 @@ def plot_linearmap(cdict):
# Directly creating a segmented colormap from a list
# --------------------------------------------------
#
-# The above described is a very versatile approach, but admitedly a bit
+# The above described is a very versatile approach, but admittedly a bit
# cumbersome to implement. For some basic cases, the use of
# `.LinearSegmentedColormap.from_list` may be easier. This creates a segmented
# colormap with equal spacings from a supplied list of colors.
diff --git a/versioneer.py b/versioneer.py
index aca3ce819433..955e89a5f914 100644
--- a/versioneer.py
+++ b/versioneer.py
@@ -697,7 +697,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
# TAG-NUM-gHEX
mo = re.search(r'^(.+)-(\d+)-g([0-9a-f]+)$', git_describe)
if not mo:
- # unparseable. Maybe git-describe is misbehaving?
+ # unparsable. Maybe git-describe is misbehaving?
pieces["error"] = ("unable to parse git-describe output: '%%s'"
%% describe_out)
return pieces