From 018fde68e1173b2de8cdfda028e47cd6a9057017 Mon Sep 17 00:00:00 2001 From: hannah Date: Thu, 26 Aug 2021 00:13:25 -0400 Subject: [PATCH 1/2] ]Doc] FigureCanvasBase draw Started as a type fix not->no, ended up rewriting/breaking up the paragraph. --- lib/matplotlib/backend_bases.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/matplotlib/backend_bases.py b/lib/matplotlib/backend_bases.py index 00e99c9f073e..0033411ca678 100644 --- a/lib/matplotlib/backend_bases.py +++ b/lib/matplotlib/backend_bases.py @@ -2041,10 +2041,10 @@ def draw(self, *args, **kwargs): """ Render the `.Figure`. - It is important that this method actually walk the artist tree - even if not output is produced because this will trigger - deferred work (like computing limits auto-limits and tick - values) that users may want access to before saving to disk. + This method must walk the artist tree, even if no output is produced, + because it triggers deferred work that users may want to access before + saving output to disk. For example computing limits, auto-limits, + and tick values. """ def draw_idle(self, *args, **kwargs): From 743dd685fa62ba0ccf244f916d63b13f8e93c775 Mon Sep 17 00:00:00 2001 From: hannah Date: Thu, 26 Aug 2021 00:44:28 -0400 Subject: [PATCH 2/2] Update backend_bases.py --- lib/matplotlib/backend_bases.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/matplotlib/backend_bases.py b/lib/matplotlib/backend_bases.py index 0033411ca678..21ff162062d0 100644 --- a/lib/matplotlib/backend_bases.py +++ b/lib/matplotlib/backend_bases.py @@ -2041,10 +2041,10 @@ def draw(self, *args, **kwargs): """ Render the `.Figure`. - This method must walk the artist tree, even if no output is produced, - because it triggers deferred work that users may want to access before - saving output to disk. For example computing limits, auto-limits, - and tick values. + This method must walk the artist tree, even if no output is produced, + because it triggers deferred work that users may want to access + before saving output to disk. For example computing limits, + auto-limits, and tick values. """ def draw_idle(self, *args, **kwargs):