Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix spelling errors #22964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ install:
- conda create -q -n test-environment python=%PYTHON_VERSION% tk "pip<22.0"
- activate test-environment
# pull pywin32 from conda because on py38 there is something wrong with finding
# the dlls when insalled from pip
# the dlls when installed from pip
- conda install -c conda-forge pywin32
# install pyqt from conda-forge
- conda install -c conda-forge pyqt
Expand Down
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ c1a33a481b9c2df605bcb9bef9c19fe65c3dac21

# style: check-docstring-first pre-commit hook
046533797725293dfc2a6edb9f536b25f08aa636

# chore: fix spelling errors
686c9e5a413e31c46bb049407d5eca285bcab76d
2 changes: 1 addition & 1 deletion doc/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ documentation. All of the documentation is written using sphinx, a
python documentation system built on top of ReST. This directory contains

* users - the user documentation, e.g., installation, plotting tutorials,
configuration tips, faq, explaations, etc.
configuration tips, faq, explanations, etc.

* devel - documentation for Matplotlib developers

Expand Down
2 changes: 1 addition & 1 deletion doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ hr.box-sep {
}


/* multi colunm TOC */
/* multi column TOC */
.contents ul {
list-style-type: none;
padding-left: 2em;
Expand Down
2 changes: 1 addition & 1 deletion doc/api/next_api_changes/behavior/22229-TAC.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ArtistList proxies copy contents on iteration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When iterating over the contents of the the dynamically generated proxy lists
When iterating over the contents of the dynamically generated proxy lists
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't technically a misspelling. I'm moderately confident in the word undoublings I've made, but I've only recently started performing this additional change...

for the Artist-type accessors (see :ref:`Behavioural API Changes 3.5 - Axes
children combined`), a copy of the contents is made. This ensure that artists
can safely be added or removed from the Axes while iterating over their children.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_0.65.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Changes for 0.65
connect and disconnect

Did away with the text methods for angle since they were ambiguous.
fontangle could mean fontstyle (obligue, etc) or the rotation of the
fontangle could mean fontstyle (oblique, etc) or the rotation of the
text. Use style and rotation instead.
2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_0.70.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Changes for 0.70
MplEvent factored into a base class Event and derived classes
MouseEvent and KeyEvent

Removed definct set_measurement in wx toolbar
Removed defunct set_measurement in wx toolbar
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_0.72.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Changes for 0.72
- Line2D, Text, and Patch copy_properties renamed update_from and
moved into artist base class

- LineCollecitons.color renamed to LineCollections.set_color for
- LineCollections.color renamed to LineCollections.set_color for
consistency with set/get introspection mechanism,

- pylab figure now defaults to num=None, which creates a new figure
Expand Down
2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_0.98.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ The ``Polar`` class has moved to :mod:`matplotlib.projections.polar`.
.. [3] :meth:`matplotlib.axes.Axes.set_position` now accepts either
four scalars or a :class:`matplotlib.transforms.Bbox` instance.

.. [4] Since the recfactoring allows for more than two scale types
.. [4] Since the refactoring allows for more than two scale types
('log' or 'linear'), it no longer makes sense to have a toggle.
``Axes.toggle_log_lineary()`` has been removed.

Expand Down
2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_1.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ directly.
patheffects.svg
~~~~~~~~~~~~~~~

- remove ``get_proxy_renderer`` method from ``AbstarctPathEffect`` class
- remove ``get_proxy_renderer`` method from ``AbstractPathEffect`` class
- remove ``patch_alpha`` and ``offset_xy`` from ``SimplePatchShadow``


Expand Down
2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_2.2.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ instead of `RuntimeError` when sizes of input lists don't match
`matplotlib.figure.Figure.set_figwidth` and
`matplotlib.figure.Figure.set_figheight` had the keyword argument
``forward=False`` by default, but `.figure.Figure.set_size_inches` now defaults
to ``forward=True``. This makes these functions conistent.
to ``forward=True``. This makes these functions consistent.


Do not truncate svg sizes to nearest point
Expand Down
2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_3.1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ match the array value type of the ``Path.codes`` array.
LaTeX code in matplotlibrc file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Previously, the rc file keys ``pgf.preamble`` and ``text.latex.preamble`` were
parsed using commmas as separators. This would break valid LaTeX code, such as::
parsed using commas as separators. This would break valid LaTeX code, such as::

\usepackage[protrusion=true, expansion=false]{microtype}

Expand Down
2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_3.3.0/removals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Arguments
renamed to ``manage_ticks``.
- The ``normed`` parameter of `~.Axes.hist2d` has been renamed to ``density``.
- The ``s`` parameter of `.Annotation` has been renamed to ``text``.
- For all functions in `.bezier` that supported a ``tolerence`` parameter, this
- For all functions in `.bezier` that supported a ``tolerance`` parameter, this
parameter has been renamed to ``tolerance``.
- ``axis("normal")`` is not supported anymore. Use the equivalent
``axis("auto")`` instead.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ These methods convert from unix timestamps to matplotlib floats, but are not
used internally to matplotlib, and should not be needed by end users. To
convert a unix timestamp to datetime, simply use
`datetime.datetime.utcfromtimestamp`, or to use NumPy `~numpy.datetime64`
``dt = np.datetim64(e*1e6, 'us')``.
``dt = np.datetime64(e*1e6, 'us')``.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably?


Auto-removal of grids by `~.Axes.pcolor` and `~.Axes.pcolormesh`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# dir.
#
# The contents of this file are pickled, so don't put values in the namespace
# that aren't pickleable (module imports are okay, they're removed
# that aren't picklable (module imports are okay, they're removed
# automatically).
#
# All configuration values have a default value; values that are commented out
Expand Down
2 changes: 1 addition & 1 deletion doc/devel/MEP/MEP28.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Detailed description

Currently, the ``Axes.boxplot`` method accepts parameters that allow the
users to specify medians and confidence intervals for each box that
will be drawn in the plot. These were provided so that avdanced users
will be drawn in the plot. These were provided so that advanced users
could provide statistics computed in a different fashion that the simple
method provided by matplotlib. However, handling this input requires
complex logic to make sure that the forms of the data structure match what
Expand Down
2 changes: 1 addition & 1 deletion doc/devel/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ Rules
~~~~~

- Deprecations are targeted at the next point.release (e.g. 3.x)
- Deprecated API is generally removed two two point-releases after introduction
- Deprecated API is generally removed two point-releases after introduction
of the deprecation. Longer deprecations can be imposed by core developers on
a case-by-case basis to give more time for the transition
- The old API must remain fully functional during the deprecation period
Expand Down
2 changes: 1 addition & 1 deletion doc/devel/documenting_mpl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ generates a link like this: `matplotlib.collections.LineCollection`.
have to use qualifiers like ``:class:``, ``:func:``, ``:meth:`` and the likes.

Often, you don't want to show the full package and module name. As long as the
target is unanbigous you can simply leave them out:
target is unambiguous you can simply leave them out:

.. code-block:: rst

Expand Down
2 changes: 1 addition & 1 deletion doc/devel/gitwash/development_workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ someone reviewing your branch to see what you are doing.

Choose an informative name for the branch to remind yourself and the rest of us
what the changes in the branch are for. For example ``add-ability-to-fly``, or
``buxfix-for-issue-42``.
``bugfix-for-issue-42``.

::

Expand Down
2 changes: 1 addition & 1 deletion doc/sphinxext/missing_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_location(node, app):
Usually, this will be of the form "path/to/file:linenumber". Two
special values can be emitted, "<external>" for paths which are
not contained in this source tree (e.g. docstrings included from
other modules) or "<unknown>", inidcating that the sphinx application
other modules) or "<unknown>", indicating that the sphinx application
cannot locate the original source file (usually because an extension
has injected text into the sphinx parsing engine).
"""
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinxext/redirect_from.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class RedirectFromDomain(Domain):

@property
def redirects(self):
"""The mapping of the redirectes."""
"""The mapping of the redirects."""
return self.data.setdefault('redirects', {})

def clear_doc(self, docnames):
Expand Down
2 changes: 1 addition & 1 deletion doc/users/faq/howto_faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ You can also filter on class instances::
for o in fig.findobj(text.Text):
o.set_fontstyle('italic')

.. _howto-supress_offset:
.. _howto-suppress_offset:

Prevent ticklabels from having an offset
----------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/users/installing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ install Matplotlib with other useful Python software is to use the Anaconda_
Python scientific software collection, which includes Python itself and a
wide range of libraries; if you need a library that is not available from the
collection, you can install it yourself using standard methods such as *pip*.
See the Ananconda web page for installation support.
See the Anaconda web page for installation support.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brand


.. _system python packages:
https://github.com/MacPython/wiki/wiki/Which-Python#system-python-and-extra-python-packages
Expand Down
Loading