Commit 0f70a22
Raise ValueError for RGB values outside the [0, 1] range in rgb_to_hsv function (matplotlib#28948)
* initial error correction
* Remove unintentional white-space
* Reorder closer to original
* Remove unwanted whitespace
* flake8 compliance
* Improved Error messages
* Update lib/matplotlib/colors.py
Co-authored-by: Tim Hoffmann <[email protected]>
* Update lib/matplotlib/colors.py
Co-authored-by: Tim Hoffmann <[email protected]>
* Update lib/matplotlib/colors.py
Co-authored-by: Tim Hoffmann <[email protected]>
* remove unnecessary arr_min calculation
---------
Co-authored-by: Tim Hoffmann <[email protected]>1 parent 592c123 commit 0f70a22
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3097 | 3097 | | |
3098 | 3098 | | |
3099 | 3099 | | |
| 3100 | + | |
3100 | 3101 | | |
3101 | 3102 | | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
3102 | 3116 | | |
3103 | 3117 | | |
3104 | 3118 | | |
| |||
0 commit comments