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 c4d3cd4

Browse filesBrowse files
anntzertacaswell
authored andcommitted
Expire deprecation of \stackrel.
1 parent c449ee4 commit c4d3cd4
Copy full SHA for c4d3cd4
Expand file treeCollapse file tree

18 files changed

+160
-158
lines changed

‎doc/api/next_api_changes/removals.rst

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/removals.rst
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,8 @@ rcParams
135135
Environment variables
136136
~~~~~~~~~~~~~~~~~~~~~
137137
- ``MATPLOTLIBDATA`` (no replacement).
138+
139+
mathtext
140+
~~~~~~~~
141+
- The ``\stackrel`` command (which behaved differently from its LaTeX version)
142+
has been removed. Use ``\genfrac`` instead.

‎lib/matplotlib/mathtext.py

Copy file name to clipboardExpand all lines: lib/matplotlib/mathtext.py
-10Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3170,16 +3170,6 @@ def dfrac(self, s, loc, toks):
31703170
return self._genfrac('', '', thickness,
31713171
self._math_style_dict['displaystyle'], num, den)
31723172

3173-
@cbook.deprecated("3.1", obj_type="mathtext command",
3174-
alternative=r"\genfrac")
3175-
def stackrel(self, s, loc, toks):
3176-
assert len(toks) == 1
3177-
assert len(toks[0]) == 2
3178-
num, den = toks[0]
3179-
3180-
return self._genfrac('', '', 0.0,
3181-
self._math_style_dict['textstyle'], num, den)
3182-
31833173
def binom(self, s, loc, toks):
31843174
assert len(toks) == 1
31853175
assert len(toks[0]) == 2
Binary file not shown.
Loading

‎lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_cm_69.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_cm_69.svg
+38-36Lines changed: 38 additions & 36 deletions
Loading
Binary file not shown.
Loading

‎lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavusans_69.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavusans_69.svg
+12-11Lines changed: 12 additions & 11 deletions
Loading
Binary file not shown.
Loading

‎lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_69.svg

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/baseline_images/test_mathtext/mathtext_dejavuserif_69.svg
+48-48Lines changed: 48 additions & 48 deletions
Loading
Binary file not shown.
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.