Skip to content

Commit da208dd

Browse files
committed
BoundaryNorm docstring formatting
1 parent b3b0750 commit da208dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎lib/matplotlib/colors.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,9 +1258,9 @@ def __init__(self, boundaries, ncolors, clip=False):
12581258
are below ``boundaries[0]`` or mapped to *ncolors* - 1 if they are
12591259
above ``boundaries[-1]``.
12601260
1261-
If clip is *False*, out of range values are mapped to *-1* if they
1262-
are below *boundaries[0]* or mapped to *ncolors* if they are
1263-
above *boundaries[-1]*. These are then converted to valid indices
1261+
If *clip* is ``False``, out of range values are mapped to -1 if
1262+
they are below ``boundaries[0]`` or mapped to *ncolors* if they are
1263+
above ``boundaries[-1]``. These are then converted to valid indices
12641264
by :meth:`Colormap.__call__`.
12651265
12661266
Notes

0 commit comments

Comments
 (0)