File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 35
35
new image axes
36
36
shrink = 1.0; fraction by which to shrink the colorbar
37
37
aspect = 20; ratio of long to short dimensions
38
+
38
39
'''
39
40
40
41
colormap_kw_doc = '''
92
93
93
94
If mappable is a ContourSet, its extend kwarg is included automatically.
94
95
96
+ Note that the shrink kwarg provides a simple way to keep
97
+ a vertical colorbar, for example, from being taller than
98
+ the axes of the mappable to which the colorbar is attached;
99
+ but it is a manual method requiring some trial and error.
100
+ If the colorbar is too tall (or a horizontal colorbar is
101
+ too wide) use a smaller value of shrink.
102
+
103
+ For more precise control, you can manually specify the
104
+ positions of the axes objects in which the mappable and
105
+ the colorbar are drawn. In this case, do not use any of the
106
+ axes properties kwargs.
95
107
''' % (make_axes_kw_doc , colormap_kw_doc )
96
108
97
109
You can’t perform that action at this time.
0 commit comments