Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ba3ff8

Browse files
committed
Add an entry in api_changes
1 parent a67b232 commit 3ba3ff8

File tree

1 file changed

+15
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)