Skip to content

Commit 3b6ac62

Browse files
efiringtimhoffm
andauthored
Doc: specify default keyword argument for 'extend'
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
1 parent a4aafd1 commit 3b6ac62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/colors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ def __init__(self, boundaries, ncolors, clip=False, extend='neither'):
14271427
they are below ``boundaries[0]`` or mapped to *ncolors* if they are
14281428
above ``boundaries[-1]``. These are then converted to valid indices
14291429
by `Colormap.__call__`.
1430-
extend : {'neither', 'both', 'min', 'max'}, optional
1430+
extend : {'neither', 'both', 'min', 'max'}, default: 'neither'
14311431
Extend the number of bins to include one or both of the
14321432
regions beyond the boundaries. For example, if ``extend``
14331433
is 'min', then the color to which the region between the first

0 commit comments

Comments
 (0)