Skip to content

Commit aef1484

Browse files
committed
black formatting
1 parent beef976 commit aef1484

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

xrft/tests/.ipynb_checkpoints/test_xrft-checkpoint.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,9 @@ def _test_iso(theta):
954954
ps = xrft.power_spectrum(theta, spacing_tol=spacing_tol, dim=dims)
955955
# ps = np.sqrt(ps.freq_x**2 + ps.freq_y**2)
956956
ps_iso = xrft.isotropize(ps, fftdim, nfactor=nfactor, truncate=truncate)
957-
dims_iso = [d for d in ps_iso.dims if d != 'd0'] # excluding 'd0' dimension if it exists
957+
dims_iso = [
958+
d for d in ps_iso.dims if d != "d0"
959+
] # excluding 'd0' dimension if it exists
958960
assert len(dims_iso) == 1
959961
assert dims_iso[0] == "freq_r"
960962
# npt.assert_allclose(ps_iso, ps_iso.freq_r**2 * 2 * np.pi, atol=0.02)

0 commit comments

Comments
 (0)