Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f627eaa

Browse files
luzpazstory645
andauthored
Update lib/matplotlib/colors.py
Co-authored-by: hannah <[email protected]>
1 parent 023dd9d commit f627eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ def __call__(self, value, clip=None):
17311731
else:
17321732
max_col = self.Ncmap
17331733
# this gives us the bins in the lookup table in the range
1734-
# [0, _n_regions - 1] (the offset is baked-in in the init)
1734+
# [0, _n_regions - 1] (the offset is set in the init)
17351735
iret = np.digitize(xx, self.boundaries) - 1 + self._offset
17361736
# if we have more colors than regions, stretch the region
17371737
# index computed above to full range of the color bins. This

0 commit comments

Comments
 (0)