File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1600,15 +1600,15 @@ def test_pcolorargs():
16001600 match = 'are not monotonically increasing or decreasing' ):
16011601 ax .pcolormesh (X , Y , Z , shading = 'auto' )
16021602 # The case of specifying coordinates by inputting 2D arrays.
1603- x = np .linspace (- 1 ,1 , 3 )
1604- y = np .linspace (- 1 ,1 , 3 )
1603+ x = np .linspace (- 1 , 1 , 3 )
1604+ y = np .linspace (- 1 , 1 , 3 )
16051605 X , Y = np .meshgrid (x , y )
16061606 Z = np .zeros (X .shape )
16071607 np .random .seed (19680801 )
16081608 noise_X = np .random .random (X .shape )
16091609 noise_Y = np .random .random (Y .shape )
16101610 with pytest .warns (UserWarning ,
1611- match = 'are not monotonically increasing or decreasing' ) as record :
1611+ match = 'are not monotonically increasing or decreasing' ) as record :
16121612 # Small perturbations in coordinates will not disrupt the monotonicity
16131613 # of the X-coords and Y-coords in their respective directions.
16141614 # Therefore, no warnings will be triggered.
You can’t perform that action at this time.
0 commit comments