8000 Merge branch 'master' of https://github.com/xordux/matplotlib into na… · matplotlib/matplotlib@f8ba9d3 · GitHub
[go: up one dir, main page]

Skip to content

Commit f8ba9d3

Browse files
Merge branch 'master' of https://github.com/xordux/matplotlib into navigate_mode_18151
2 parents 3e34724 + 5c486d7 commit f8ba9d3

File tree

215 files changed

+5884
-5661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+5884
-5661
lines changed

.circleci/config.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,15 @@ commands:
8787
command: |
8888
# Set epoch to date of latest tag.
8989
export SOURCE_DATE_EPOCH="$(git log -1 --format=%at $(git describe --abbrev=0))"
90-
make html O=-T
90+
# Include analytics only when deploying to devdocs.
91+
if [ "$CIRCLE_PROJECT_USERNAME" != "matplotlib" ] || \
92+
[ "$CIRCLE_BRANCH" != "master" ] || \
93+
[[ "$CIRCLE_PULL_REQUEST" == https://github.com/matplotlib/matplotlib/pull/* ]]; then
94+
export ANALYTICS=False
95+
else
96+
export ANALYTICS=True
97+
fi
98+
make html O="-T -Ainclude_analytics=$ANALYTICS"
9199
rm -r build/html/_sources
92100
working_directory: doc
93101
- save_cache:

.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ omit = matplotlib/_version.py
77

88
[report]
99
exclude_lines =
10+
pragma: no cover
1011
raise NotImplemented
1112
def __str__
1213
def __repr__

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ per-file-ignores =
5050

5151
lib/matplotlib/__init__.py: F401
5252
lib/matplotlib/_cm.py: E202, E203, E302
53+
lib/matplotlib/_mathtext.py: E221, E251
5354
lib/matplotlib/_mathtext_data.py: E203, E261
5455
lib/matplotlib/animation.py: F401
5556
lib/matplotlib/axes/__init__.py: F401, F403
@@ -162,6 +163,7 @@ per-file-ignores =
162163
examples/lines_bars_and_markers/fill.py: E402
163164
examples/lines_bars_and_markers/fill_between_demo.py: E402
164165
examples/lines_bars_and_markers/filled_step.py: E402
166+
examples/lines_bars_and_markers/stairs_demo.py: E402
165167
examples/lines_bars_and_markers/horizontal_barchart_distribution.py: E402
166168
examples/lines_bars_and_markers/joinstyle.py: E402
167169
examples/lines_bars_and_markers/scatter_hist.py: E402

.github/CODE_OF_CONDUCT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Matplotlib follows the Python Software Foundation Code of Conduct in everything we do,
2+
see https://www.python.org/psf/conduct/.

.travis.yml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -133,19 +133,28 @@ install:
133133
# install was successful by trying to import the toolkit (sometimes, the
134134
# install appears to be successful but shared libraries cannot be loaded at
135135
# runtime, so an actual import is a better check).
136-
python -mpip install --upgrade pycairo cairocffi>=0.8
137-
python -mpip install --upgrade PyGObject &&
138-
python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
139-
echo 'PyGObject is available' ||
140-
echo 'PyGObject is not available'
141-
python -mpip install --upgrade pyqt5 &&
142-
python -c 'import PyQt5.QtCore' &&
143-
echo 'PyQt5 is available' ||
144-
echo 'PyQt5 is not available'
145-
python -mpip install --upgrade pyside2 &&
146-
python -c 'import PySide2.QtCore' &&
147-
echo 'PySide2 is available' ||
148-
echo 'PySide2 is not available'
136+
137+
# PyGObject, pycairo, and cariocffi do not install on OSX 10.12
138+
139+
# There are not functioning wheels available for OSX 10.12 (as of
140+
# Sept 2020) for either pyqt5 (there are only wheels for 10.13+)
141+
# or pyside2 (the latest version (5.13.2) with 10.12 wheels has a
142+
# fatal to us bug, it was fixed in 5.14.0 which has 10.13 wheels)
143+
if [[ $TRAVIS_OS_NAME != 'osx' ]]; then
144+
python -mpip install --upgrade pycairo cairocffi>=0.8
145+
python -mpip install --upgrade PyGObject &&
146+
python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
147+
echo 'PyGObject is available' ||
148+
echo 'PyGObject is not available'
149+
python -mpip install --upgrade pyqt5 &&
150+
python -c 'import PyQt5.QtCore' &&
151+
echo 'PyQt5 is available' ||
152+
echo 'PyQt5 is not available'
153+
python -mpip install --upgrade pyside2 &&
154+
python -c 'import PySide2.QtCore' &&
155+
echo 'PySide2 is available' ||
156+
echo 'PySide2 is not available'
157+
fi
149158
python -mpip install --upgrade \
150159
-f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04 \
151160
wxPython &&

doc/MCSE.2007.55.bib

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@Article{Hunter:2007,
2+
Author = {Hunter, J. D.},
3+
Title = {Matplotlib: A 2D graphics environment},
4+
Journal = {Computing in Science \& Engineering},
5+
Volume = {9},
6+
Number = {3},
7+
Pages = {90--95},
8+
abstract = {Matplotlib is a 2D graphics package used for Python for
9+
application development, interactive scripting, and publication-quality
10+
image generation across user interfaces and operating systems.},
11+
publisher = {IEEE COMPUTER SOC},
12+
doi = {10.1109/MCSE.2007.55},
13+
year = 2007
14+
}

doc/_static/zenodo_cache/4030140.svg

Lines changed: 35 additions & 0 deletions
Loading

doc/_templates/layout.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
{%- endif %}
9797
</div>
9898
</footer>
99+
{%- if include_analytics %}
99100
<script>
100101
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
101102
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
@@ -106,4 +107,5 @@
106107
ga('send', 'pageview');
107108

108109
</script>
110+
{%- endif %}
109111
{%- endblock %}

doc/api/artist_api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
``matplotlib.artist``
55
*********************
66

7-
.. inheritance-diagram:: matplotlib.axes._axes.Axes matplotlib.axes._base._AxesBase matplotlib.axis.Axis matplotlib.axis.Tick matplotlib.axis.XAxis matplotlib.axis.XTick matplotlib.axis.YAxis matplotlib.axis.YTick matplotlib.collections.AsteriskPolygonCollection matplotlib.collections.BrokenBarHCollection matplotlib.collections.CircleCollection matplotlib.collections.Collection matplotlib.collections.EllipseCollection matplotlib.collections.EventCollection matplotlib.collections.LineCollection matplotlib.collections.PatchCollection matplotlib.collections.PathCollection matplotlib.collections.PolyCollection matplotlib.collections.QuadMesh matplotlib.collections.RegularPolyCollection matplotlib.collections.StarPolygonCollection matplotlib.collections.TriMesh matplotlib.collections._CollectionWithSizes matplotlib.contour.ClabelText matplotlib.figure.Figure matplotlib.image.AxesImage matplotlib.image.BboxImage matplotlib.image.FigureImage matplotlib.image.NonUniformImage matplotlib.image.PcolorImage matplotlib.image._ImageBase matplotlib.legend.Legend matplotlib.lines.Line2D matplotlib.offsetbox.AnchoredOffsetbox matplotlib.offsetbox.AnchoredText matplotlib.offsetbox.AnnotationBbox matplotlib.offsetbox.AuxTransformBox matplotlib.offsetbox.DrawingArea matplotlib.offsetbox.HPacker matplotlib.offsetbox.OffsetBox matplotlib.offsetbox.OffsetImage matplotlib.offsetbox.PackerBase matplotlib.offsetbox.PaddedBox matplotlib.offsetbox.TextArea matplotlib.offsetbox.VPacker matplotlib.patches.Arc matplotlib.patches.Arrow matplotlib.patches.Circle matplotlib.patches.CirclePolygon matplotlib.patches.ConnectionPatch matplotlib.patches.Ellipse matplotlib.patches.FancyArrow matplotlib.patches.FancyArrowPatch matplotlib.patches.FancyBboxPatch matplotlib.patches.Patch matplotlib.patches.PathPatch matplotlib.patches.Polygon matplotlib.patches.Rectangle matplotlib.patches.RegularPolygon matplotlib.patches.Shadow matplotlib.patches.Wedge matplotlib.projections.geo.AitoffAxes matplotlib.projections.geo.GeoAxes matplotlib.projections.geo.HammerAxes matplotlib.projections.geo.LambertAxes matplotlib.projections.geo.MollweideAxes matplotlib.projections.polar.PolarAxes matplotlib.quiver.Barbs matplotlib.quiver.Quiver matplotlib.quiver.QuiverKey matplotlib.spines.Spine matplotlib.table.Cell matplotlib.table.CustomCell matplotlib.table.Table matplotlib.text.Annotation matplotlib.text.Text
7+
.. inheritance-diagram:: matplotlib.axes._axes.Axes matplotlib.axes._base._AxesBase matplotlib.axis.Axis matplotlib.axis.Tick matplotlib.axis.XAxis matplotlib.axis.XTick matplotlib.axis.YAxis matplotlib.axis.YTick matplotlib.collections.AsteriskPolygonCollection matplotlib.collections.BrokenBarHCollection matplotlib.collections.CircleCollection matplotlib.collections.Collection matplotlib.collections.EllipseCollection matplotlib.collections.EventCollection matplotlib.collections.LineCollection matplotlib.collections.PatchCollection matplotlib.collections.PathCollection matplotlib.collections.PolyCollection matplotlib.collections.QuadMesh matplotlib.collections.RegularPolyCollection matplotlib.collections.StarPolygonCollection matplotlib.collections.TriMesh matplotlib.collections._CollectionWithSizes matplotlib.contour.ClabelText matplotlib.figure.Figure matplotlib.image.AxesImage matplotlib.image.BboxImage matplotlib.image.FigureImage matplotlib.image.NonUniformImage matplotlib.image.PcolorImage matplotlib.image._ImageBase matplotlib.legend.Legend matplotlib.lines.Line2D matplotlib.offsetbox.AnchoredOffsetbox matplotlib.offsetbox.AnchoredText matplotlib.offsetbox.AnnotationBbox matplotlib.offsetbox.AuxTransformBox matplotlib.offsetbox.DrawingArea matplotlib.offsetbox.HPacker matplotlib.offsetbox.OffsetBox matplotlib.offsetbox.OffsetImage matplotlib.offsetbox.PackerBase matplotlib.offsetbox.PaddedBox matplotlib.offsetbox.TextArea matplotlib.offsetbox.VPacker matplotlib.patches.Arc matplotlib.patches.Arrow matplotlib.patches.Circle matplotlib.patches.CirclePolygon matplotlib.patches.ConnectionPatch matplotlib.patches.Ellipse matplotlib.patches.FancyArrow matplotlib.patches.FancyArrowPatch matplotlib.patches.FancyBboxPatch matplotlib.patches.Patch matplotlib.patches.PathPatch matplotlib.patches.StepPatch matplotlib.patches.Polygon matplotlib.patches.Rectangle matplotlib.patches.RegularPolygon matplotlib.patches.Shadow matplotlib.patches.Wedge matplotlib.projections.geo.AitoffAxes matplotlib.projections.geo.GeoAxes matplotlib.projections.geo.HammerAxes matplotlib.projections.geo.LambertAxes matplotlib.projections.geo.MollweideAxes matplotlib.projections.polar.PolarAxes matplotlib.quiver.Barbs matplotlib.quiver.Quiver matplotlib.quiver.QuiverKey matplotlib.spines.Spine matplotlib.table.Cell matplotlib.table.CustomCell matplotlib.table.Table matplotlib.text.Annotation matplotlib.text.Text
88
:parts: 1
99
:private-bases:
1010

doc/api/axes_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Binned
137137
Axes.hexbin
138138
Axes.hist
139139
Axes.hist2d
140+
Axes.stairs
140141

141142
Contours
142143
--------

doc/api/figure_api.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Classes
1616
:template: autosummary.rst
1717
:nosignatures:
1818

19-
AxesStack
2019
Figure
2120
SubplotParams
2221

doc/api/mathtext_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
:members:
1010
:undoc-members:
1111
:show-inheritance:
12+
:exclude-members: Box, Char, ComputerModernFontConstants, DejaVuSansFontConstants, DejaVuSerifFontConstants, FontConstantsBase, Fonts, Glue, Kern, Node, Parser, STIXFontConstants, STIXSansFontConstants, Ship, StandardPsFonts, TruetypeFonts
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docstring.Substitution now always dedents docstrings before string interpolation
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
``mplot3d.art3d.get_dir_vector`` always returns NumPy arrays
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
For consistency, `~.mplot3d.art3d.get_dir_vector` now always returns NumPy
5+
arrays, even if the input is a 3-element iterable.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Parasite Axes pcolor and pcolormesh now defaults to placing grid edges at integers, not half-integers
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
This is consistent with `~.Axes.pcolor` and `~.Axes.pcolormesh`.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
``ScalarFormatter`` *useLocale* option obeys grouping
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
When the `~.ScalarFormatter` option *useLocale* is enabled (or
5+
:rc:`axes.formatter.use_locale` is *True*) and the configured locale uses
6+
grouping, a separator will be added as described in `locale.format_string`.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*facename* parameter of `.mathtext.Fonts.render_glyph`
2-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1+
*facename* parameter of ``mathtext.Fonts.render_glyph``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
This parameter was renamed to *font* for consistency with the rest of the
4-
`.Fonts` API.
4+
``Fonts`` API.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Deprecation of mathtext internals
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
The following API elements previously exposed by the :mod:`.mathtext` module
4+
are considered to be implementation details of and public access to them is
5+
deprecated: ``Fonts`` and all its subclasses, ``FontConstantsBase`` and all its
6+
subclasses, ``Node`` and all its subclasses, ``Ship``, ``ship``, ``Error``,
7+
``Parser``, ``SHRINK_FACTOR``, ``GROW_FACTOR``, ``NUM_SIZE_LEVELS``,
8+
``latex_to_bakoma``, ``latex_to_cmex``, ``latex_to_standard``,
9+
``stix_virtual_fonts``, ``tex2uni``.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*minimumdescent* parameter/property of ``TextArea``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
`.offsetbox.TextArea` has behaved as if *minimumdescent* was always True
4+
(regardless of the value to which it was set) since Matplotlib 1.3, so the
5+
parameter/property is deprecated.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
``matplotlib.cm`` removals
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
- ``matplotlib.cm.revcmap()`` has been removed. Use ``Colormap.reversed()``
5+
instead.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Locators
2+
~~~~~~~~
3+
The unused ``Locator.autoscale`` method has been removed (pass the axis limits
4+
to `.Locator.view_limits` instead). Any derived methods are also removed:
5+
6+
* ``Locator.autoscale``
7+
* ``AutoDateLocator.autoscale``
8+
* ``RRuleLocator.autoscale``
9+
* ``RadialLocator.autoscale``
10+
* ``ThetaLocator.autoscale``
11+
* ``YearLocator.autoscale``
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
GTK
2+
~~~
3+
4+
The following methods and properties have been removed:
5+
6+
* ``ConfigureSubplotsGTK3.destroy`` method
7+
* ``ConfigureSubplotsGTK3.init_window`` method
8+
* ``ConfigureSubplotsGTK3.window`` property
9+
10+
WX
11+
~~
12+
``FigureFrameWx.statusbar``, ``NavigationToolbar2Wx.set_status_bar``, and
13+
``NavigationToolbar2Wx.statbar`` have been removed. The status bar can be
14+
retrieved by calling standard wx methods (``frame.GetStatusBar()`` and
15+
``toolbar.GetTopLevelParent().GetStatusBar()``).
16+
17+
``backend_wx.ConfigureSubplotsWx.configure_subplots`` and
18+
``backend_wx.ConfigureSubplotsWx.get_canvas`` have been removed.
19+
20+
PGF
21+
~~~
22+
``backend_pgf.repl_escapetext`` and ``backend_pgf.repl_mathdefault`` have been
23+
removed.
24+
25+
``RendererPgf.latexManager`` has been removed.
26+
27+
FigureCanvas
28+
~~~~~~~~~~~~
29+
``FigureCanvasBase.draw_cursor`` and ``FigureCanvasMac.invalidate`` have been
30+
removed.
31+
32+
The ``dryrun`` parameter to the various ``FigureCanvasFoo.print_foo`` methods
33+
has been removed.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Fonts
2+
~~~~~
3+
``font_manager.JSONEncoder`` has been removed. Use `.font_manager.json_dump` to
4+
dump a `.FontManager` instance.
5+
6+
``font_manager.createFontList`` has been removed. `.font_manager.FontManager.addfont`
7+
is now available to register a font at a given path.
8+
9+
The ``as_str``, ``as_rgba_str``, ``as_array``, ``get_width`` and ``get_height``
10+
methods of ``matplotlib.ft2font.FT2Image`` have been removed. Convert the
11+
``FT2Image`` to a NumPy array with ``np.asarray`` before processing it.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
``matplotlib.mlab``
2+
~~~~~~~~~~~~~~~~~~~
3+
``mlab.apply_window`` and ``mlab.stride_repeat`` have been removed.
4+
5+
Axes3D
6+
~~~~~~
7+
``axes3d.unit_bbox`` has been removed; use ``Bbox.unit`` instead.
8+
9+
axisartist
10+
~~~~~~~~~~
11+
``mpl_toolkits.axisartist.grid_finder.GridFinderBase`` has been removed; use
12+
`.GridFinder` instead.
13+
14+
``axisartist.axis_artist.BezierPath`` has been removed; use
15+
`.patches.PathPatch` instead.
16+
17+
Returning a factor equal to None from axisartist Locators (which are **not**
18+
the same as "standard" tick Locators), or passing a factor equal to None
19+
to axisartist Formatters (which are **not** the same as "standard" tick
20+
Formatters) is no longer supported. Pass a factor equal to 1 instead.
21+
22+
Misc
23+
~~~~
24+
``matplotlib.get_home`` has been removed; use standard library instead.
25+
26+
``matplotlib.compare_versions`` has been removed; use comparison of
27+
``distutils.version.LooseVersion``\s instead.
28+
29+
``matplotlib.checkdep_ps_distiller`` has been removed.
30+
31+
``matplotlib.figure.AxesStack`` has been removed.
32+
33+
``BboxBase.is_unit`` has been removed; check the `.Bbox` extents if needed.
34+
35+
``Affine2DBase.matrix_from_values(...)`` has been removed; use (for example)
36+
``Affine2D.from_values(...).get_matrix()`` instead.
37+
38+
``style.core.is_style_file`` and ``style.core.iter_style_files`` have been
39+
removed.

doc/api/patches_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Classes
2929
FancyBboxPatch
3030
Patch
3131
PathPatch
32+
StepPatch
3233
Polygon
3334
Rectangle
3435
RegularPolygon

doc/api/prev_api_changes/api_changes_2.1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ a previous axes instance currently reuses the earlier instance. This
329329
behavior has been deprecated in Matplotlib 2.1. In a future version, a
330330
*new* instance will always be created and returned. Meanwhile, in such
331331
a situation, a deprecation warning is raised by
332-
:class:`~matplotlib.figure.AxesStack`.
332+
``matplotlib.figure.AxesStack``.
333333

334334
This warning can be suppressed, and the future behavior ensured, by passing
335335
a *unique* label to each axes instance. See the docstring of

doc/api/prev_api_changes/api_changes_3.1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ Mathtext changes
727727

728728
Deprecations
729729
~~~~~~~~~~~~
730-
- The ``\stackrel`` mathtext command hsa been deprecated (it behaved differently
730+
- The ``\stackrel`` mathtext command has been deprecated (it behaved differently
731731
from LaTeX's ``\stackrel``. To stack two mathtext expressions, use
732732
``\genfrac{left-delim}{right-delim}{fraction-bar-thickness}{}{top}{bottom}``.
733733
- The ``\mathcircled`` mathtext command (which is not a real TeX command)

doc/api/prev_api_changes/api_changes_3.2.0/deprecations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Deprecation of the constructor means that classes inheriting from
113113

114114
Locators
115115
~~~~~~~~
116-
The unused `.Locator.autoscale` method is deprecated (pass the axis limits to
116+
The unused ``Locator.autoscale`` method is deprecated (pass the axis limits to
117117
`.Locator.view_limits` instead).
118118

119119
Animation

0 commit comments

Comments
 (0)
0