From 4ace8604365b6dbb7aee0576782a93d7e6993c54 Mon Sep 17 00:00:00 2001 From: Sebastian Kloth Date: Thu, 28 Dec 2023 14:10:30 +0100 Subject: [PATCH] Adjusted examples --- examples/plot_chi4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/plot_chi4.py b/examples/plot_chi4.py index 6ef3b22..cb02fcf 100644 --- a/examples/plot_chi4.py +++ b/examples/plot_chi4.py @@ -39,7 +39,7 @@ chi4 = len(OW[0]) * Fqt.var(axis=0) tudplot.activate() plt.plot(t, chi4, 'h', label=r'$\chi_4$') -plt.plot(t[2:-2], md.utils.runningmean(chi4, 5), '-', label='smoothed') +plt.plot(t[2:-2], md.utils.moving_average(chi4, 5), '-', label='smoothed') plt.semilogx() plt.xlabel('time / ps')