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

Skip to content

Commit ad0ef8b

Browse files
committed
Add an entry in api_changes
1 parent 6c69f3e commit ad0ef8b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines 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)