File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1600,15 +1600,15 @@ def test_pcolorargs():
1600
1600
match = 'are not monotonically increasing or decreasing' ):
1601
1601
ax .pcolormesh (X , Y , Z , shading = 'auto' )
1602
1602
# 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 )
1605
1605
X , Y = np .meshgrid (x , y )
1606
1606
Z = np .zeros (X .shape )
1607
1607
np .random .seed (19680801 )
1608
1608
noise_X = np .random .random (X .shape )
1609
1609
noise_Y = np .random .random (Y .shape )
1610
1610
with pytest .warns (UserWarning ,
1611
- match = 'are not monotonically increasing or decreasing' ) as record :
1611
+ match = 'are not monotonically increasing or decreasing' ) as record :
1612
1612
# Small perturbations in coordinates will not disrupt the monotonicity
1613
1613
# of the X-coords and Y-coords in their respective directions.
1614
1614
# Therefore, no warnings will be triggered.
You can’t perform that action at this time.
0 commit comments