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

Commitedf0078

Browse files
committed
Update docstring
1 parent08e98da commitedf0078

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎lib/matplotlib/cm.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ def to_rgba(self, x, alpha=None, bytes=False, norm=True):
226226
array will be floats in the 0-1 range; if it is *True*,
227227
the returned rgba array will be uint8 in the 0 to 255 range.
228228
229+
If norm is False, no normalization of the input data is
230+
performed, and it is assumed to already be in the range (0-1).
231+
229232
Note: this method assumes the input is well-behaved; it does
230233
not check for anomalies such as *x* being a masked rgba
231234
array, or being an integer type other than uint8, or being

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp