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

Skip to content

Commit 3c3b3ad

Browse files
committed
fix issue with mathtext label not working. The things that fixed it was adding the line of ### and then adding a # on one of the lines that was missing it
1 parent 5ed2a3a commit 3c3b3ad

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

doc/devel/MEP/MEP12.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ Tagging examples will also help users search the example gallery. Although tags
190190
would be a big win for users with specific goals, the plot gallery will remain
191191
the entry point to these examples, and sections could really help users
192192
navigate the gallery. Thus, tags are complementary to this reorganization.
193+
[2]_ [3]_ [4]_ [5]_
193194

194195

195196
.. _PEP8: https://www.python.org/dev/peps/pep-0008/

tutorials/text/mathtext.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
to generate their text (see :ref:`sphx_glr_tutorials_text_usetex.py`).
1616
"""
1717

18+
###############################################################################
1819
# Any text element can use math text. You should use raw strings (precede the
1920
# quotes with an ``'r'``), and surround the math text with dollar signs ($), as in
2021
# TeX. Regular text and mathtext can be interleaved within the same string.
@@ -32,7 +33,7 @@
3233
# <http://thread.gmane.org/gmane.comp.python.matplotlib.general/19963/focus=19978>`_.
3334
#
3435
# Here is a simple example::
35-
36+
#
3637
# # plain text
3738
# plt.title('alpha > beta')
3839
#
@@ -151,7 +152,7 @@
151152
#
152153
# \sqrt[3]{x}
153154
#
154-
# .. _mathtext_fonts:
155+
# .. _mathtext-fonts:
155156
#
156157
# Fonts
157158
# -----

tutorials/text/text_props.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
#
146146
# The base default font is controlled by a set of rcParams. To set the font
147147
# for mathematical expressions, use the rcParams begining with ``mathtext``
148-
# (see :ref:`mathtext <mathtext_fonts>`).
148+
# (see :ref:`mathtext <mathtext-fonts>`).
149149
#
150150
# +---------------------+----------------------------------------------------+
151151
# | rcParam | usage |

0 commit comments

Comments
 (0)