bugfix on scipy import
This commit is contained in:
parent
f8e0cfdb8b
commit
9a296f59f6
|
@ -187,7 +187,7 @@ class LineViewPlot(Plot):
|
||||||
if minor_axis==0:
|
if minor_axis==0:
|
||||||
self._mn_data = self._data.mean(minor_axis)
|
self._mn_data = self._data.mean(minor_axis)
|
||||||
else:
|
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 = self._data - self._mn_data
|
||||||
self.data_is_centered = True
|
self.data_is_centered = True
|
||||||
#initial line collection
|
#initial line collection
|
||||||
|
|
Reference in New Issue