From f5f20bfba89cc006e1d19d0d5f6713330584561c Mon Sep 17 00:00:00 2001 From: keithbriggs Date: Mon, 31 Jul 2017 19:52:04 +0100 Subject: [PATCH 1/2] Update colorbar.py Clarified documentation of "shirink". --- lib/matplotlib/colorbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/colorbar.py b/lib/matplotlib/colorbar.py index dffbb7d02740..1f68e896b4c6 100644 --- a/lib/matplotlib/colorbar.py +++ b/lib/matplotlib/colorbar.py @@ -52,7 +52,7 @@ *fraction* 0.15; fraction of original axes to use for colorbar *pad* 0.05 if vertical, 0.15 if horizontal; fraction of original axes between colorbar and new image axes - *shrink* 1.0; fraction by which to shrink the colorbar + *shrink* 1.0; fraction by which to multiply the size of the colorbar *aspect* 20; ratio of long to short dimensions *anchor* (0.0, 0.5) if vertical; (0.5, 1.0) if horizontal; the anchor point of the colorbar axes From ac8f340c9a771871c894aecdc12a9111958271dd Mon Sep 17 00:00:00 2001 From: keithbriggs Date: Tue, 1 Aug 2017 09:47:03 +0100 Subject: [PATCH 2/2] Update colorbar.py --- lib/matplotlib/colorbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/colorbar.py b/lib/matplotlib/colorbar.py index 1f68e896b4c6..0fb4e3b47c17 100644 --- a/lib/matplotlib/colorbar.py +++ b/lib/matplotlib/colorbar.py @@ -52,7 +52,7 @@ *fraction* 0.15; fraction of original axes to use for colorbar *pad* 0.05 if vertical, 0.15 if horizontal; fraction of original axes between colorbar and new image axes - *shrink* 1.0; fraction by which to multiply the size of the colorbar + *shrink* 1.0; fraction by which to multiply the size of the colorbar *aspect* 20; ratio of long to short dimensions *anchor* (0.0, 0.5) if vertical; (0.5, 1.0) if horizontal; the anchor point of the colorbar axes