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