8000 MNT: Remove align from sphinxext.plot_directive · matplotlib/matplotlib@feaf336 · GitHub
[go: up one dir, main page]

Skip to content

Commit feaf336

Browse files
committed
MNT: Remove align from sphinxext.plot_directive
This follows the deprecation period.
1 parent 3f7a552 commit feaf336

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

doc/api/next_api_changes/removals/23XXX-GL.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,8 @@ Extra parameters to Axes constructor
2121
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2222

2323
Parameters of the Axes constructor other than *fig* and *rect* are now keyword only.
24+
25+
``sphinext.plot_directive.align`` has been removed
26+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27+
28+
Use ``docutils.parsers.rst.directives.images.Image.align`` instead.

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@
162162
from matplotlib import _api, _pylab_helpers, cbook
163163

164164
matplotlib.use("agg")
165-
align = _api.deprecated(
166-
"3.4", alternative="docutils.parsers.rst.directives.images.Image.align")(
167-
Image.align)
168165

169166
__version__ = 2
170167

0 commit comments

Comments
 (0)
0