Skip to content

Commit 5d27567

Browse files
authored
fixed comment with erroneous grayscale term
updated comment
1 parent 88a3485 commit 5d27567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def set_data(self, A):
672672
"float".format(self._A.dtype))
673673

674674
if (self._A.ndim == 3 and self._A.shape[-1] == 1):
675-
# If just one dimension assume grayscale
675+
# If just one dimension assume scalar and apply colormap
676676
self._A = self._A[:, :, 0]
677677

678678
if not (self._A.ndim == 2

0 commit comments

Comments
 (0)