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

Appearance settings

Commit cc814f9

Browse filesBrowse files
committed
make fonts.py, mathtext.py, text_intro.py confirm to docs guidelines
1 parent c16d7db commit cc814f9
Copy full SHA for cc814f9

File tree

Expand file treeCollapse file tree

3 files changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+7
-7
lines changed

‎galleries/users_explain/text/fonts.py

Copy file name to clipboardExpand all lines: galleries/users_explain/text/fonts.py
+2-2Lines 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

Copy file name to clipboardExpand all lines: galleries/users_explain/text/mathtext.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: galleries/users_explain/text/text_intro.py
+4-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.