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:
|
||||
# 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:
|
||||
|
|
Reference in New Issue