8000 Change how kwarg extendfrac is presented in colorbar_only tutorial · matplotlib/matplotlib@c7f582c · GitHub
[go: up one dir, main page]

Skip to content

Commit c7f582c

Browse files
committed
Change how kwarg extendfrac is presented in colorbar_only tutorial
1 parent a875825 commit c7f582c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tutorials/colors/colorbar_only.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,8 @@
8484
# --------------------------------------
8585
#
8686
# Here we illustrate the use of custom length colorbar extensions, used on a
87-
# colorbar with discrete intervals. To make the length of each extension the
88-
# same as the length of the interior colors pass the *extendfrac* argument as
89-
# *auto*.
87+
# colorbar with discrete intervals. To make the length of each extension same
88+
# as the length of the interior colors, use extendfrac='auto'.
9089

9190
cmap = mpl.colors.ListedColormap(['royalblue', 'cyan',
9291
'yellow', 'orange'])

0 commit comments

Comments
 (0)
0