Skip to content

Commit 41f28ab

Browse files
anntzertimhoffm
authored andcommitted
Fix tutorial typos. (matplotlib#12457)
Quotes were missing in `rcParams["axes.titlepad"]`. Capitalize a few instances of "Matplotlib".
1 parent f93222a commit 41f28ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorials/text/text_intro.py

+4-4
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)