8000
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 234089d commit a62d3e3Copy full SHA for a62d3e3
lib/matplotlib/contour.py
@@ -1254,11 +1254,11 @@ def _process_colors(self):
1254
i0, i1 = 0, len(self.levels)
1255
if self 8A73 span>.filled:
1256
i1 -= 1
1257
- # Out of range indices for over and under:
1258
- if self.extend in ('both', 'min'):
1259
- i0 = -1
1260
- if self.extend in ('both', 'max'):
1261
- i1 += 1
+ # Out of range indices for over and under:
+ if self.extend in ('both', 'min'):
+ i0 -= 1
+ if self.extend in ('both', 'max'):
+ i1 += 1
1262
self.cvalues = list(range(i0, i1))
1263
self.set_norm(colors.NoNorm())
1264
else:
0 commit comments