added scatter
This commit is contained in:
6
fluent
6
fluent
@@ -80,13 +80,15 @@ class FluentApp:
|
||||
wf_menu.show()
|
||||
wf_box.pack_end(wf_menu)
|
||||
|
||||
# Set up plot
|
||||
# Set up plots
|
||||
pt = self.widget_tree.get_widget('small_view')
|
||||
plot = plots.SinePlot()
|
||||
plot.show()
|
||||
plot.mark_active(True)
|
||||
# pt.set_child(plot, 0, 1)
|
||||
|
||||
plot2 = plots.ScatterPlot()
|
||||
plot2.show()
|
||||
# pt.set_child(plot, 0, 1)
|
||||
# Set up plot toolbar
|
||||
dock = self.widget_tree.get_widget('plot_toolbar_dock')
|
||||
dock.add(plot.get_toolbar(self.app))
|
||||
|
Reference in New Issue
Block a user