From c0254dd87951736d77839678579dc446649bfcd1 Mon Sep 17 00:00:00 2001 From: din14970 Date: Tue, 4 Aug 2020 16:21:40 +0200 Subject: [PATCH] Update imaging.py spline is no longer in scipy.interpolate and it is not used below --- pyqstem/imaging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyqstem/imaging.py b/pyqstem/imaging.py index 531bab5..b9af124 100644 --- a/pyqstem/imaging.py +++ b/pyqstem/imaging.py @@ -194,7 +194,7 @@ def get_chi(self,theta,phi,wavelength): def radial_plot(self,shape=None,sampling=None,wavelength=None,energy=None, max_freq=2,ax=None,interpolate=True): - from scipy.interpolate import spline,interp1d + from scipy.interpolate import interp1d if ax is None: fig, ax = plt.subplots()