Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b16729 commit b31b17dCopy full SHA for b31b17d
1 file changed
lib/matplotlib/image.py
@@ -700,7 +700,9 @@ def _normalize_image_array(A):
700
if A.min() < 0 or high < A.max():
701
_log.warning(
702
'Clipping input data to the valid range for imshow with '
703
- 'RGB data ([0..1] for floats or [0..255] for integers).'
+ 'RGB data ([0..1] for floats or [0..255] for integers). '
704
+ 'Got range [%s..%s].',
705
+ A.min(), A.max()
706
)
707
A = np.clip(A, 0, high)
708
# Cast unsupported integer types to uint8
0 commit comments