Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove reference to norm.clip in docstrings.
  • Loading branch information
bdice committed Aug 9, 2020
commit c43cceb983341583e2221f479cc8080f553742ac
8 changes: 4 additions & 4 deletions lib/matplotlib/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,15 +629,15 @@ def set_bad(self, color='k', alpha=None):

def get_under(self):
"""
Get the color for low out-of-range values when ``norm.clip = False``.
Get the color for low out-of-range values.
"""
if not self._isinit:
self._init()
return self._lut[self._i_under]

def set_under(self, color='k', alpha=None):
"""
Set the color for low out-of-range values when ``norm.clip = False``.
Set the color for low out-of-range values.
Comment thread
bdice marked this conversation as resolved.
Outdated
"""
_warn_if_global_cmap_modified(self)
self._rgba_under = to_rgba(color, alpha)
Expand All @@ -646,15 +646,15 @@ def set_under(self, color='k', alpha=None):

def get_over(self):
"""
Get the color for high out-of-range values when ``norm.clip = False``.
Get the color for high out-of-range values.
"""
if not self._isinit:
self._init()
return self._lut[self._i_over]

def set_over(self, color='k', alpha=None):
"""
Set the color for high out-of-range values when ``norm.clip = False``.
Set the color for high out-of-range values.
Comment thread
bdice marked this conversation as resolved.
Outdated
"""
_warn_if_global_cmap_modified(self)
self._rgba_over = to_rgba(color, alpha)
Expand Down