From a9ce19cfe8c3d4299d334d768bf516f2aaf9c046 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 21 Jan 2020 10:43:43 +0000 Subject: [PATCH] Backport PR #16272: Move mplot3d autoregistration api changes to 3.2. --- doc/api/prev_api_changes/api_changes_3.1.0.rst | 8 -------- doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/api/prev_api_changes/api_changes_3.1.0.rst b/doc/api/prev_api_changes/api_changes_3.1.0.rst index b21c2c6a9d75..d622085e657f 100644 --- a/doc/api/prev_api_changes/api_changes_3.1.0.rst +++ b/doc/api/prev_api_changes/api_changes_3.1.0.rst @@ -17,14 +17,6 @@ regardless of whether `matplotlib.pyplot` has been imported. If the user tries to switch from an already-started interactive backend to a different interactive backend, an `ImportError` will be raised. -mplot3d auto-registration -~~~~~~~~~~~~~~~~~~~~~~~~~ - -`mpl_toolkits.mplot3d` is always registered by default now. It is no -longer necessary to import mplot3d to create 3d axes with :: - - ax = fig.add_subplot(111, projection="3d") - Invalid points in PathCollections ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PathCollections created with `~.Axes.scatter` now keep track of invalid points. diff --git a/doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst b/doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst index f50fbe4ac15e..cd7dee07f459 100644 --- a/doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst +++ b/doc/api/prev_api_changes/api_changes_3.2.0/behavior.rst @@ -299,3 +299,11 @@ package, and Axes methods that take a ``norm`` parameter. If extra kwargs are passed to `.LogScale`, `TypeError` will now be raised instead of `ValueError`. + +mplot3d auto-registration +~~~~~~~~~~~~~~~~~~~~~~~~~ + +`mpl_toolkits.mplot3d` is always registered by default now. It is no +longer necessary to import mplot3d to create 3d axes with :: + + ax = fig.add_subplot(111, projection="3d")