Fixed vorrect namespace for scipy funcs

This commit is contained in:
Arnar Flatberg 2007-08-02 10:44:06 +00:00
parent b233e4abc6
commit 83d76eac4f

View File

@ -471,7 +471,7 @@ class ScatterPlot(Plot):
if not n==1:
# we have a category dataset
if isinstance(data, fluents.dataset.CategoryDataset):
vec = dot(array, diag(arange(n))).sum(1)
vec = scipy.dot(array, scipy.diag(scipy.arange(n))).sum(1)
else:
vec = array.sum(1)
else: