From 63e20fa6d6b2ca382a67bb75799aa5fafc33dec5 Mon Sep 17 00:00:00 2001 From: Pete Huang Date: Sat, 7 Jan 2017 11:45:19 -0600 Subject: [PATCH 1/3] fixes #7393, change subplot doc --- lib/matplotlib/pyplot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index 0081f647c0f3..03afd81519cf 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -976,8 +976,8 @@ def subplot(*args, **kwargs): .. note:: - Creating a new subplot with a position which is entirely inside a - pre-existing axes will trigger the larger axes to be deleted:: + Creating a subplot will delete any pre-existing subplot that overlaps + with it:: import matplotlib.pyplot as plt # plot a line, implicitly creating a subplot(111) From 4abaa24b0340fa650b8fdb44a04c5f693f55bd86 Mon Sep 17 00:00:00 2001 From: Pete Huang Date: Sun, 8 Jan 2017 10:41:21 -0600 Subject: [PATCH 2/3] change to fully overlaps --- lib/matplotlib/pyplot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index 03afd81519cf..d0427e696847 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -976,8 +976,8 @@ def subplot(*args, **kwargs): .. note:: - Creating a subplot will delete any pre-existing subplot that overlaps - with it:: + Creating a subplot will delete any pre-existing subplot that fully + overlaps with it:: import matplotlib.pyplot as plt # plot a line, implicitly creating a subplot(111) From 9e5bf4d4a8f546bbf9f599f90a3ef507addedd2e Mon Sep 17 00:00:00 2001 From: Pete Huang Date: Mon, 9 Jan 2017 20:48:10 -0500 Subject: [PATCH 3/3] Adjust wording to @efiring's recommendatoin --- lib/matplotlib/pyplot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index d0427e696847..01fd12fc51c8 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -976,8 +976,8 @@ def subplot(*args, **kwargs): .. note:: - Creating a subplot will delete any pre-existing subplot that fully - overlaps with it:: + Creating a subplot will delete any pre-existing subplot that overlaps + with it beyond sharing a boundary:: import matplotlib.pyplot as plt # plot a line, implicitly creating a subplot(111)