8000 Move all mathtext sections to a common heading · matplotlib/matplotlib@0927ed4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0927ed4

Browse files
dstansbytacaswell
authored andcommitted
Move all mathtext sections to a common heading
1 parent 21f214a commit 0927ed4

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

doc/api/prev_api_changes/api_changes_3.1.0.rst

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
API Changes for 3.1.0
22
=====================
33

4+
Mathtext changes
5+
----------------
6+
7+
- In constructs such as ``"$1~2$"``, mathtext now interprets the tilde as a
8+
space, consistently with TeX (this was previously a parse error).
9+
10+
Deprecations
11+
~~~~~~~~~~~~
12+
13+
- The ``\stackrel`` mathtext command hsa been deprecated (it behaved differently
14+
from LaTeX's ``\stackrel``. To stack two mathtext expressions, use
15+
``\genfrac{left-delim}{right-delim}{fraction-bar-thickness}{}{top}{bottom}``.
16+
- The `\mathcircled` mathtext command (which is not a real TeX command)
17+
is deprecated. Directly use unicode characters (e.g.
18+
``"\N{CIRCLED LATIN CAPITAL LETTER A}"`` or ``"\u24b6"``) instead.
19+
- Support for setting :rc:`mathtext.default` to circled is deprecated.
20+
21+
422
API removals
523
------------
624

@@ -24,17 +42,23 @@ the 2D Axis classes, and despite the similar name, it has a completely
2442
different behavior from the 2D Axis' `axis.Axis.get_ticks_position` method.
2543

2644
- ``backend_pgf.LatexManagerFactory``
45+
2746
- ``mpl_toolkits.axisartist.axislines.SimpleChainedObjects``
2847
- ``mpl_toolkits.Axes.AxisDict``
48+
2949
- ``checkdep_dvipng``
3050
- ``checkdep_ghostscript``
3151
- ``checkdep_pdftops``
3252
- ``checkdep_inkscape``
53+
3354
- ``ticker.decade_up``
3455
- ``ticker.decade_down``
56+
3557
- ``backend_pdf.RendererPdf.afm_font_cache``
3658
- ``backend_ps.RendererPS.afmfontd``
59+
3760
- ``projections.process_projection_requirements``
61+
3862
- ``dates.seconds()``
3963
- ``dates.minutes()``
4064
- ``dates.hours()``
@@ -111,13 +135,6 @@ These have had no effect since the switch from Matplotlib's old custom Verbose
111135
logging to the stdlib's `logging` module. In addition the
112136
``rcsetup.validate_verbose`` function is deprecated.
113137

114-
mathtext deprecations
115-
---------------------
116-
117-
The ``\stackrel`` mathtext command is deprecated (it behaved differently
118-
from LaTeX's ``\stackrel``. To stack two mathtext expressions, use
119-
``\genfrac{left-delim}{right-delim}{fraction-bar-thickness}{}{top}{bottom}``.
120-
121138
Undeprecations
122139
--------------
123140

@@ -167,11 +184,6 @@ The first parameter of `matplotlib.use` has been renamed from *arg* to
167184
as a keyword argument. The common usage pattern as a positional argument
168185
``matplotlib.use('Qt5Agg')`` is not affected.
169186

170-
``~`` now interpreted as space in mathtext
171-
------------------------------------------
172-
173-
In constructs such as ``"$1~2$"``, mathtext now interprets the tilde as a
174-
space, consistently with TeX (this was previously a parse error).
175187

176188
Exception on failing animations changed
177189
---------------------------------------
@@ -509,15 +521,6 @@ standard environment variables ``CFLAGS``/``LDFLAGS`` on Linux or OSX, or
509521

510522
See details in :file:`INSTALL.rst`.
511523

512-
Deprecations
513-
------------
514-
515-
The `\mathcircled` mathtext command (which is not a real TeX command)
516-
is deprecated. Directly use unicode characters (e.g.
517-
``"\N{CIRCLED LATIN CAPITAL LETTER A}"`` or ``"\u24b6"``) instead.
518-
519-
Support for setting :rc:`mathtext.default` to circled is deprecated.
520-
521524
matplotlib.font_manager.win32InstalledFonts return value
522525
--------------------------------------------------------
523526

0 commit comments

Comments
 (0)
0