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.
2 parents 91f58db + 1500e4b commit f90367aCopy full SHA for f90367a
lib/matplotlib/contour.py
@@ -1231,11 +1231,10 @@ def _process_levels(self):
1231
1232
# ...except that extended layers must be outside the
1233
# normed range:
1234
- finfo = np.finfo(float)
1235
if self.extend in ('both', 'min'):
1236
- self.layers[0] = self.vmin - finfo.eps
+ self.layers[0] = -np.inf
1237
if self.extend in ('both', 'max'):
1238
- self.layers[-1] = self.vmax + finfo.eps
+ self.layers[-1] = np.inf
1239
1240
def _process_colors(self):
1241
"""
0 commit comments