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

Skip to content

Backport PR #12457 on branch v3.0.x (Fix tutorial typos.) #12464

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
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
8 changes: 4 additions & 4 deletions tutorials/text/text_intro.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
or PDF, what you see on the screen is what you get in the hardcopy.
`FreeType <https://www.freetype.org/>`_ support
produces very nice, antialiased fonts, that look good even at small
raster sizes. matplotlib includes its own
raster sizes. Matplotlib includes its own
:mod:`matplotlib.font_manager` (thanks to Paul Barrett), which
implements a cross platform, `W3C <http://www.w3.org/>`
compliant font finding algorithm.
Expand All @@ -23,7 +23,7 @@
weight, text location and color, etc.) with sensible defaults set in
the :doc:`rc file </tutorials/introductory/customizing>`.
And significantly, for those interested in mathematical
or scientific figures, matplotlib implements a large number of TeX
or scientific figures, Matplotlib implements a large number of TeX
math symbols and commands, supporting :doc:`mathematical expressions
</tutorials/text/mathtext>` anywhere in your figure.

Expand Down Expand Up @@ -211,8 +211,8 @@
plt.show()

##############################################################################
# Vertical spacing for titles is controlled via ``rcParams[axes.titlepad]``,
# which defaults to 5 points. Setting to a different value moves the title.
# Vertical spacing for titles is controlled via :rc:`axes.titlepad`, which
# defaults to 5 points. Setting to a different value moves the title.

fig, ax = plt.subplots(figsize=(5, 3))
fig.subplots_adjust(top=0.8)
Expand Down