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

Skip to content

Commit 2e10154

Browse files
authored
Merge pull request #12464 from meeseeksmachine/auto-backport-of-pr-12457-on-v3.0.x
Backport PR #12457 on branch v3.0.x (Fix tutorial typos.)
2 parents 96804d6 + 5a13056 commit 2e10154

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorials/text/text_intro.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
or PDF, what you see on the screen is what you get in the hardcopy.
1515
`FreeType <https://www.freetype.org/>`_ support
1616
produces very nice, antialiased fonts, that look good even at small
17-
raster sizes. matplotlib includes its own
17+
raster sizes. Matplotlib includes its own
1818
:mod:`matplotlib.font_manager` (thanks to Paul Barrett), which
1919
implements a cross platform, `W3C <http://www.w3.org/>`
2020
compliant font finding algorithm.
@@ -23,7 +23,7 @@
2323
weight, text location and color, etc.) with sensible defaults set in
2424
the :doc:`rc file </tutorials/introductory/customizing>`.
2525
And significantly, for those interested in mathematical
26-
or scientific figures, matplotlib implements a large number of TeX
26+
or scientific figures, Matplotlib implements a large number of TeX
2727
math symbols and commands, supporting :doc:`mathematical expressions
2828
</tutorials/text/mathtext>` anywhere in your figure.
2929
@@ -211,8 +211,8 @@
211211
plt.show()
212212

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

217217
fig, ax = plt.subplots(figsize=(5, 3))
218218
fig.subplots_adjust(top=0.8)

0 commit comments

Comments
 (0)