Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit62b252e

Browse files
authored
Merge pull request#27096 from adescoeudres/doc_changes
make fonts.py, mathtext.py, text_intro.py confirm to docs guidelines
2 parentsd58860f +cc814f9 commit62b252e

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
@@ -288,7 +288,7 @@
288288
# (not minus).
289289
#
290290
# Custom fonts
291-
#~~~~~~~~~~~~
291+
#^^^^^^^^^^^^
292292
# Mathtext also provides a way to use custom fonts for math. This method is
293293
# fairly tricky to use, and should be considered an experimental feature for
294294
# 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)

[8]ページ先頭

©2009-2025 Movatter.jp