Commit 72e1c6c
committed
contourf: use np.inf instead of 1e300 for out-of-range color levels
Note that trying to simplify the code further by using np.inf a
few lines above, in self._levels, does not work; I'm not sure what
it breaks, but it definitely breaks something, probably in the
colorbar code.1 parent bca3321 commit 72e1c6c
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | | - | |
| 1046 | + | |
1047 | 1047 | | |
1048 | | - | |
| 1048 | + | |
1049 | 1049 | | |
1050 | | - | |
| 1050 | + | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
| |||
0 commit comments