Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1dc1d8d

Browse filesBrowse files
author
navdeep rana
committed
Documented the incompatibility of shrink and cax kwargs in colorbar.
1 parent ab4b878 commit 1dc1d8d
Copy full SHA for 1dc1d8d

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎lib/matplotlib/colorbar.py

Copy file name to clipboardExpand all lines: lib/matplotlib/colorbar.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@
180180
to which the colorbar is attached; but it is a manual method requiring
181181
some trial and error. If the colorbar is too tall (or a horizontal
182182
colorbar is too wide) use a smaller value of *shrink*.
183-
Further *shrink* and *cax* kwargs are incompatible with each other and shrink
184-
applies only if the colorbar makes its own Axes by sharing space from the Axes
185-
in which the mappable resides.
183+
Further, *shrink* and *cax* kwargs are incompatible with each other and
184+
*shrink* applies only if the colorbar makes its own Axes by sharing space
185+
with the Axes in which it resides.
186186
187187
For more precise control, you can manually specify the positions of
188188
the axes objects in which the mappable and the colorbar are drawn. In

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.