File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 175
175
If *mappable* is a :class:`~matplotlib.contours.ContourSet`, its *extend*
176
176
kwarg is included automatically.
177
177
178
- Note that the *shrink* kwarg provides a simple way to keep a vertical
179
- colorbar, for example, from being taller than the axes of the mappable
180
- to which the colorbar is attached; but it is a manual method requiring
181
- some trial and error. If the colorbar is too tall (or a horizontal
182
- colorbar is too wide) use a smaller value of *shrink*.
178
+ The *shrink* kwarg provides a simple way to scale the colorbar with respect
179
+ to the axes. Note that if *cax* is specified it determines the size of the
180
+ colorbar and *shrink* and *aspect* kwargs are ignored.
183
181
184
182
For more precise control, you can manually specify the positions of
185
183
the axes objects in which the mappable and the colorbar are drawn. In
You can’t perform that action at this time.
0 commit comments