Skip to content

Commit 0fbe0ad

Browse files
committed
Linting
1 parent 0686cc4 commit 0fbe0ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/advanced/plot_standardization.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,11 @@
9898
z_dh.data[np.abs(z_dh.data) > 4] = np.nan
9999

100100
from scipy.stats import kurtosis
101+
101102
kbef = kurtosis(dh_arr, nan_policy="omit")
102103
kaft = kurtosis(z_dh.flatten(), nan_policy="omit")
103-
print("Excess kurtosis before standardization: {}".format(kbef))
104-
print("Excess kurtosis after standardization: {}".format(kaft))
104+
print(f"Excess kurtosis before standardization: {kbef}")
105+
print(f"Excess kurtosis after standardization: {kaft}")
105106

106107
# %%
107108
# We perform a scale-correction for the standardization, to ensure that the spread of the data is exactly 1.

0 commit comments

Comments
 (0)