Thanks to visit codestin.com Credit goes to github.com
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 b698502 + a9ca4b7 commit ca892eaCopy full SHA for ca892ea
1 file changed
lib/matplotlib/contour.py
@@ -1246,9 +1246,9 @@ def _process_levels(self):
1246
# ...except that extended layers must be outside the
1247
# normed range:
1248
if self.extend in ('both', 'min'):
1249
- self.layers[0] = -np.inf
+ self.layers[0] = -1e150
1250
if self.extend in ('both', 'max'):
1251
- self.layers[-1] = np.inf
+ self.layers[-1] = 1e150
1252
1253
def _process_colors(self):
1254
"""
0 commit comments