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

Skip to content

Commit b098a76

Browse files
authored
Merge pull request #27101 from meeseeksmachine/auto-backport-of-pr-27096-on-v3.8.x
Backport PR #27096 on branch v3.8.x (make fonts.py, mathtext.py, text_intro.py confirm to docs guidelines)
2 parents a8cb474 + bffa66f commit b098a76

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

galleries/users_explain/text/fonts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
- Limited support with Matplotlib
7474
7575
Font subsetting
76-
~~~~~~~~~~~~~~~
76+
^^^^^^^^^^^^^^^
7777
7878
The PDF and PostScript formats support embedding fonts in files, allowing the
7979
display program to correctly render the text, independent of what fonts are
@@ -93,7 +93,7 @@
9393
Currently Type 3, Type 42, and TrueType fonts are subsetted. Type 1 fonts are not.
9494
9595
Core Fonts
96-
~~~~~~~~~~
96+
^^^^^^^^^^
9797
9898
In addition to the ability to embed fonts, as part of the `PostScript
9999
<https://en.wikipedia.org/wiki/PostScript_fonts#Core_Font_Set>`_ and `PDF

galleries/users_explain/text/mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
# (not minus).
288288
#
289289
# Custom fonts
290-
# ~~~~~~~~~~~~
290+
# ^^^^^^^^^^^^
291291
# Mathtext also provides a way to use custom fonts for math. This method is
292292
# fairly tricky to use, and should be considered an experimental feature for
293293
# patient users only. By setting :rc:`mathtext.fontset` to ``custom``,

galleries/users_explain/text/text_intro.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
# locations, and how they are labelled.
239239
#
240240
# Terminology
241-
# ~~~~~~~~~~~
241+
# ^^^^^^^^^^^
242242
#
243243
# *Axes* have an `matplotlib.axis.Axis` object for the ``ax.xaxis`` and
244244
# ``ax.yaxis`` that contain the information about how the labels in the axis
@@ -254,7 +254,7 @@
254254
# that format the tick labels.
255255
#
256256
# Simple ticks
257-
# ~~~~~~~~~~~~
257+
# ^^^^^^^^^^^^
258258
#
259259
# It is often convenient to simply define the
260260
# tick values, and sometimes the tick labels, overriding the default
@@ -287,7 +287,7 @@
287287

288288
# %%
289289
# Tick Locators and Formatters
290-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290+
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
291291
#
292292
# Instead of making a list of all the ticklabels, we could have
293293
# used `matplotlib.ticker.StrMethodFormatter` (new-style ``str.format()``
@@ -380,7 +380,7 @@ def formatoddticks(x, pos):
380380

381381
# %%
382382
# Dateticks
383-
# ~~~~~~~~~
383+
# ^^^^^^^^^
384384
#
385385
# Matplotlib can accept `datetime.datetime` and `numpy.datetime64`
386386
# objects as plotting arguments. Dates and times require special

0 commit comments

Comments
 (0)