From 9a296f59f66fe6a94f271cb89b25af4830f84f0c Mon Sep 17 00:00:00 2001 From: flatberg Date: Mon, 3 Sep 2007 16:16:05 +0000 Subject: [PATCH] bugfix on scipy import --- fluents/plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluents/plots.py b/fluents/plots.py index 4be34d3..9c4e75a 100644 --- a/fluents/plots.py +++ b/fluents/plots.py @@ -187,7 +187,7 @@ class LineViewPlot(Plot): if minor_axis==0: self._mn_data = self._data.mean(minor_axis) else: - self._mn_data = self._data.mean(minor_axis)[:,newaxis] + self._mn_data = self._data.mean(minor_axis)[:,scipy.newaxis] self._data = self._data - self._mn_data self.data_is_centered = True #initial line collection