Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit563eee5

Browse files
authored
Merge pull request#30131 from timhoffm/doc-normalize-properties
DOC: Document the properties of Normalize
2 parentsb09a0c7 +1426f6a commit563eee5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎lib/matplotlib/colors.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2315,6 +2315,7 @@ def __init__(self, vmin=None, vmax=None, clip=False):
23152315

23162316
@property
23172317
defvmin(self):
2318+
"""Lower limit of the input data interval; maps to 0."""
23182319
returnself._vmin
23192320

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

23272328
@property
23282329
defvmax(self):
2330+
"""Upper limit of the input data interval; maps to 1."""
23292331
returnself._vmax
23302332

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

23382340
@property
23392341
defclip(self):
2342+
"""
2343+
Determines the behavior for mapping values outside the range ``[vmin, vmax]``.
2344+
2345+
See the *clip* parameter in `.Normalize`.
2346+
"""
23402347
returnself._clip
23412348

23422349
@clip.setter

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp