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

Skip to content

Fix various small typos. #17184

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 1 commit into from
Apr 18, 2020
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 doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion doc/api/api_changes_3.3/deprecations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion doc/api/prev_api_changes/api_changes_1.4.x.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions doc/api/prev_api_changes/api_changes_3.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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 @@ -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``,
Expand Down
2 changes: 1 addition & 1 deletion doc/devel/MEP/MEP23.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/devel/MEP/MEP26.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
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 @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/devel/gitwash/configure_git.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
15 changes: 7 additions & 8 deletions doc/devel/min_dep_policy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
===================================
Expand Down
2 changes: 1 addition & 1 deletion doc/devel/release_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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",

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 @@ -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]

Expand Down
6 changes: 3 additions & 3 deletions doc/thirdpartypackages/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ diagrams.
mpl-probscale
=============
`mpl-probscale <https://matplotlib.org/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')``.

Expand Down Expand Up @@ -311,8 +311,8 @@ sviewgui
`sviewgui <https://pypi.org/project/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
Expand Down
Loading