From 35e6e606d8e596c39d73f35aabced8f7169227d1 Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Thu, 18 Jan 2024 19:47:47 +0530 Subject: [PATCH 01/15] Removed warning message of inset_axes Removed warning message of inset_axes This method is experimental as of 3.0, and the API may change. --- lib/matplotlib/axes/_axes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index b1343b5c65bb..2998047e1eda 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -331,9 +331,7 @@ def inset_axes(self, bounds, *, transform=None, zorder=5, **kwargs): """ Add a child inset Axes to this existing Axes. - Warnings - -------- - This method is experimental as of 3.0, and the API may change. + Parameters ---------- From bca6491d51b870801fca0228265990825bad023c Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Thu, 18 Jan 2024 19:55:31 +0530 Subject: [PATCH 02/15] Created inset_axes.rst Changed status from experimental to stable --- doc/users/next_whats_new/inset_axes.rst | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/users/next_whats_new/inset_axes.rst diff --git a/doc/users/next_whats_new/inset_axes.rst b/doc/users/next_whats_new/inset_axes.rst new file mode 100644 index 000000000000..d2595d31afb0 --- /dev/null +++ b/doc/users/next_whats_new/inset_axes.rst @@ -0,0 +1,7 @@ +'Axes.inset_axes' is no longer experimental +------------------------- + +Axes.inset_axes is now cosidered stable for use. + + +~~~~~~~~~~~~~ From 65ec53990d9336f6889283d4b736c20f09a23a72 Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:04:01 +0530 Subject: [PATCH 03/15] Update __init__.py Removed deprecated warning Removed warn_deprecated(...) --- lib/matplotlib/_api/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/matplotlib/_api/__init__.py b/lib/matplotlib/_api/__init__.py index 27d68529b7d4..bae8629653d7 100644 --- a/lib/matplotlib/_api/__init__.py +++ b/lib/matplotlib/_api/__init__.py @@ -305,7 +305,6 @@ def my_func(*args, **kwargs): [lambda old1, old2: locals(), lambda new: locals()], *args, **kwargs) if "old1" in params: - warn_deprecated(...) old1, old2 = params.values() # note that locals() is ordered. else: new, = params.values() From 75d1c023b35c06d2f4e92ada2641e2ed1d7573ff Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Fri, 19 Jan 2024 08:37:16 +0530 Subject: [PATCH 04/15] restored warn_deprecated --- lib/matplotlib/_api/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/matplotlib/_api/__init__.py b/lib/matplotlib/_api/__init__.py index bae8629653d7..4fef7c3b5f83 100644 --- a/lib/matplotlib/_api/__init__.py +++ b/lib/matplotlib/_api/__init__.py @@ -305,6 +305,7 @@ def my_func(*args, **kwargs): [lambda old1, old2: locals(), lambda new: locals()], *args, **kwargs) if "old1" in params: + warn_deprecated(...) old1, old2 = params.values() # note that locals() is ordered. else: new, = params.values() From 6d304f39e8061069bd7ee2a5b905edcd88219f39 Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Fri, 19 Jan 2024 08:42:43 +0530 Subject: [PATCH 05/15] Update inset_axes.rst --- doc/users/next_whats_new/inset_axes.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/users/next_whats_new/inset_axes.rst b/doc/users/next_whats_new/inset_axes.rst index d2595d31afb0..3b3157996127 100644 --- a/doc/users/next_whats_new/inset_axes.rst +++ b/doc/users/next_whats_new/inset_axes.rst @@ -1,7 +1,7 @@ 'Axes.inset_axes' is no longer experimental -------------------------- +------------------------------------------- -Axes.inset_axes is now cosidered stable for use. +Axes.inset_axes is cosidered stable for use. - -~~~~~~~~~~~~~ +Warning removed +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From 2d977895202f78bfef3c6debf916a9ba02b7628f Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Fri, 19 Jan 2024 08:44:39 +0530 Subject: [PATCH 06/15] Update inset_axes.rst --- doc/users/next_whats_new/inset_axes.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/users/next_whats_new/inset_axes.rst b/doc/users/next_whats_new/inset_axes.rst index 3b3157996127..6fd658d60b98 100644 --- a/doc/users/next_whats_new/inset_axes.rst +++ b/doc/users/next_whats_new/inset_axes.rst @@ -2,6 +2,3 @@ ------------------------------------------- Axes.inset_axes is cosidered stable for use. - -Warning removed -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From ea458a00b244c38418ebf09ea5dcb6c96cc5da2e Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Fri, 19 Jan 2024 08:48:08 +0530 Subject: [PATCH 07/15] Update __init__.py --- lib/matplotlib/_api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/_api/__init__.py b/lib/matplotlib/_api/__init__.py index 4fef7c3b5f83..27d68529b7d4 100644 --- a/lib/matplotlib/_api/__init__.py +++ b/lib/matplotlib/_api/__init__.py @@ -305,7 +305,7 @@ def my_func(*args, **kwargs): [lambda old1, old2: locals(), lambda new: locals()], *args, **kwargs) if "old1" in params: - warn_deprecated(...) + warn_deprecated(...) old1, old2 = params.values() # note that locals() is ordered. else: new, = params.values() From 45bc8f7292deb346a2d82ab52ee2184774127f28 Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Fri, 19 Jan 2024 09:08:40 +0530 Subject: [PATCH 08/15] Update inset_axes.rst --- doc/users/next_whats_new/inset_axes.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/users/next_whats_new/inset_axes.rst b/doc/users/next_whats_new/inset_axes.rst index 6fd658d60b98..23f7e6755f1a 100644 --- a/doc/users/next_whats_new/inset_axes.rst +++ b/doc/users/next_whats_new/inset_axes.rst @@ -2,3 +2,6 @@ ------------------------------------------- Axes.inset_axes is cosidered stable for use. + + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From 30c1849ada179ce83856c771fd61129b5239e07f Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Fri, 19 Jan 2024 09:13:13 +0530 Subject: [PATCH 09/15] Update inset_axes.rst --- doc/users/next_whats_new/inset_axes.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/users/next_whats_new/inset_axes.rst b/doc/users/next_whats_new/inset_axes.rst index 23f7e6755f1a..4b8b374c7fff 100644 --- a/doc/users/next_whats_new/inset_axes.rst +++ b/doc/users/next_whats_new/inset_axes.rst @@ -1,7 +1,5 @@ 'Axes.inset_axes' is no longer experimental -------------------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Axes.inset_axes is cosidered stable for use. - -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From 66285a01823023784f90b71faf0b67eacbec58a2 Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Sat, 20 Jan 2024 23:56:33 +0530 Subject: [PATCH 10/15] Update inset_axes.rst --- doc/users/next_whats_new/inset_axes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/users/next_whats_new/inset_axes.rst b/doc/users/next_whats_new/inset_axes.rst index 4b8b374c7fff..4509a94fa76a 100644 --- a/doc/users/next_whats_new/inset_axes.rst +++ b/doc/users/next_whats_new/inset_axes.rst @@ -1,4 +1,4 @@ -'Axes.inset_axes' is no longer experimental +``Axes.inset_axes`` is no longer experimental ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Axes.inset_axes is cosidered stable for use. From 5a2422c8de654d26d75453bbfb8ceaa8d5e7ada5 Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Sun, 21 Jan 2024 00:25:33 +0530 Subject: [PATCH 11/15] Update inset_axes.rst --- doc/users/next_whats_new/inset_axes.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/users/next_whats_new/inset_axes.rst b/doc/users/next_whats_new/inset_axes.rst index 4509a94fa76a..b4fa7d0fe2b0 100644 --- a/doc/users/next_whats_new/inset_axes.rst +++ b/doc/users/next_whats_new/inset_axes.rst @@ -2,4 +2,3 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Axes.inset_axes is cosidered stable for use. - From 13203f740ac5771d6ca97945af33ead6e3cb071b Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Sun, 21 Jan 2024 00:44:55 +0530 Subject: [PATCH 12/15] Update inset_axes.rst --- doc/users/next_whats_new/inset_axes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/users/next_whats_new/inset_axes.rst b/doc/users/next_whats_new/inset_axes.rst index b4fa7d0fe2b0..4fd1f83276f8 100644 --- a/doc/users/next_whats_new/inset_axes.rst +++ b/doc/users/next_whats_new/inset_axes.rst @@ -1,4 +1,4 @@ ``Axes.inset_axes`` is no longer experimental -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Axes.inset_axes is cosidered stable for use. From 6d0759b84976feca63891cd839ce426ad50f50e9 Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Sun, 21 Jan 2024 09:19:43 +0530 Subject: [PATCH 13/15] Update doc/users/next_whats_new/inset_axes.rst Co-authored-by: Jody Klymak --- doc/users/next_whats_new/inset_axes.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/users/next_whats_new/inset_axes.rst b/doc/users/next_whats_new/inset_axes.rst index 4fd1f83276f8..7c1387586a2f 100644 --- a/doc/users/next_whats_new/inset_axes.rst +++ b/doc/users/next_whats_new/inset_axes.rst @@ -1,4 +1,5 @@ ``Axes.inset_axes`` is no longer experimental ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Axes.inset_axes is cosidered stable for use. +Axes.inset_axes is considered stable for use. + From 14786af101d9c13e661e8e8cb93819bf5702f3aa Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Sun, 21 Jan 2024 09:21:15 +0530 Subject: [PATCH 14/15] Update inset_axes.rst --- doc/users/next_whats_new/inset_axes.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/users/next_whats_new/inset_axes.rst b/doc/users/next_whats_new/inset_axes.rst index 7c1387586a2f..d283dfc91b30 100644 --- a/doc/users/next_whats_new/inset_axes.rst +++ b/doc/users/next_whats_new/inset_axes.rst @@ -2,4 +2,3 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Axes.inset_axes is considered stable for use. - From 95b7f6873abc72f331c0c12c1a0ae2ec2a806a04 Mon Sep 17 00:00:00 2001 From: ShivamPathak99 <98941325+ShivamPathak99@users.noreply.github.com> Date: Sun, 21 Jan 2024 11:32:01 +0530 Subject: [PATCH 15/15] Update _axes.py --- lib/matplotlib/axes/_axes.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 2998047e1eda..ef7d3edfa0b9 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -332,7 +332,6 @@ def inset_axes(self, bounds, *, transform=None, zorder=5, **kwargs): Add a child inset Axes to this existing Axes. - Parameters ---------- bounds : [x0, y0, width, height]