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.
1 parent 8da435d commit a9ca4b7Copy full SHA for a9ca4b7
1 file changed
lib/matplotlib/contour.py
@@ -1232,9 +1232,9 @@ def _process_levels(self):
1232
# ...except that extended layers must be outside the
1233
# normed range:
1234
if self.extend in ('both', 'min'):
1235
- self.layers[0] = -np.inf
+ self.layers[0] = -1e150
1236
if self.extend in ('both', 'max'):
1237
- self.layers[-1] = np.inf
+ self.layers[-1] = 1e150
1238
1239
def _process_colors(self):
1240
"""
0 commit comments