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 feaf336

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

File tree

Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-3
lines changed

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

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/removals/23XXX-GL.rst
+5Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/sphinxext/plot_directive.py
-3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.