Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: Document the properties of Normalize #30131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2025
Merged
Changes from all commits
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
7 changes: 7 additions & 0 deletions lib/matplotlib/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2315,6 +2315,7 @@ def __init__(self, vmin=None, vmax=None, clip=False):

@property
def vmin(self):
"""Lower limit of the input data interval; maps to 0."""
return self._vmin

@vmin.setter
Expand All @@ -2326,6 +2327,7 @@ def vmin(self, value):

@property
def vmax(self):
"""Upper limit of the input data interval; maps to 1."""
return self._vmax

@vmax.setter
Expand All @@ -2337,6 +2339,11 @@ def vmax(self, value):

@property
def clip(self):
"""
Determines the behavior for mapping values outside the range ``[vmin, vmax]``.

See the *clip* parameter in `.Normalize`.
"""
return self._clip

@clip.setter
Expand Down
Loading