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.
2 parents 9b16729 + b31b17d commit 6fa5045Copy full SHA for 6fa5045
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