Added a LineViewPlot in GenerateData
This commit is contained in:
parent
bf951990f5
commit
c40f9a2947
|
@ -103,7 +103,7 @@ class TestDataFunction(workflow.Function):
|
|||
|
||||
def run(self):
|
||||
logger.log('notice', 'Injecting foo test data')
|
||||
x = randn(5000,4)
|
||||
x = randn(500,15)
|
||||
X = dataset.Dataset(x)
|
||||
p = plots.ScatterPlot(X, X, 'rows', 'rows', '0_1', '0_2',name='scatter')
|
||||
p2 = plots.ScatterMarkerPlot(X, X, 'rows', 'rows', '0_1', '0_2',name='marker')
|
||||
|
@ -116,7 +116,8 @@ class TestDataFunction(workflow.Function):
|
|||
|
||||
cds = dataset.CategoryDataset(ones([3, 3]))
|
||||
ds_scatter = plots.ScatterMarkerPlot(ds, ds, 'rows_0', 'rows_0', '0_1', '0_2')
|
||||
return [X, ds, p, ds_plot, ds_scatter, p2, cds]
|
||||
lp = plots.LineViewPlot(X,major_axis=0)
|
||||
return [X, ds, p, ds_plot, ds_scatter, p2, cds,lp]
|
||||
|
||||
class SelectFunction(workflow.Function):
|
||||
def __init__(self):
|
||||
|
|
Reference in New Issue