Fixed vorrect namespace for scipy funcs
This commit is contained in:
parent
b233e4abc6
commit
83d76eac4f
|
@ -471,7 +471,7 @@ class ScatterPlot(Plot):
|
||||||
if not n==1:
|
if not n==1:
|
||||||
# we have a category dataset
|
# we have a category dataset
|
||||||
if isinstance(data, fluents.dataset.CategoryDataset):
|
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:
|
else:
|
||||||
vec = array.sum(1)
|
vec = array.sum(1)
|
||||||
else:
|
else:
|
||||||
|
|
Reference in New Issue