Commit ee15518
litchi
avoid-unnecessary-warning-in-_pcolorargs-function
Within the `_interp_grid function`, unnecessary warnings may be triggered when expanding the grid coordinates. As long as the X coordinates and Y coordinates remain monotonic in their respective directions, negative area grids can be avoided. Therefore, the `require_monotonicity` keyword has been added to avoid triggering monotonicity warnings indiscriminately when calling the function.1 parent 7025fb9 commit ee15518
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6027 | 6027 | | |
6028 | 6028 | | |
6029 | 6029 | | |
6030 | | - | |
6031 | | - | |
| 6030 | + | |
| 6031 | + | |
| 6032 | + | |
| 6033 | + | |
| 6034 | + | |
6032 | 6035 | | |
6033 | 6036 | | |
6034 | 6037 | | |
| |||
6051 | 6054 | | |
6052 | 6055 | | |
6053 | 6056 | | |
6054 | | - | |
| 6057 | + | |
6055 | 6058 | | |
6056 | 6059 | | |
6057 | 6060 | | |
6058 | | - | |
| 6061 | + | |
6059 | 6062 | | |
6060 | 6063 | | |
6061 | 6064 | | |
| |||
0 commit comments