Skip to content

Commit 0909f73

Browse files
authored
format added code
format added code in test_axes.py
1 parent 38ac1b2 commit 0909f73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/tests/test_axes.py

+3-3
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)