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 19a9d4e

Browse filesBrowse files
authored
Merge pull request matplotlib#9132 from afvincent/doc_axes_collision_deprecation
DOC: document axes-collision deprecation
2 parents b1b9404 + ad0ef8b commit 19a9d4e
Copy full SHA for 19a9d4e

File tree

Expand file treeCollapse file tree

1 file changed

+16
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+16
-0
lines changed
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Deprecation of axes collision
2+
-----------------------------
3+
4+
Adding an axes instance to a figure by using the same arguments as for
5+
a previous axes instance currently reuses the earlier instance. This
6+
behavior has been deprecated in Matplotlib 2.1. In a future version, a
7+
*new* instance will always be created and returned. Meanwhile, in such
8+
a situation, a deprecation warning is raised by
9+
:class:`~matplotlib.figure.AxesStack`.
10+
11+
This warning can be suppressed, and the future behavior ensured, by passing
12+
a *unique* label to each axes instance. See the docstring of
13+
:meth:`~matplotlib.figure.Figure.add_axes` for more information.
14+
15+
Additional details on the rationale behind this deprecation can be found
16+
in :issue:`7377` and :issue:`9024`.

0 commit comments

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