Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

bugfix on scipy import

This commit is contained in:
Arnar Flatberg 2007-09-03 16:16:05 +00:00
parent f8e0cfdb8b
commit 9a296f59f6
1 changed files with 1 additions and 1 deletions

View File

@ -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