Double clicking a function in the navigator causes the first four plots of that
function to be displayed in the main view. If the function has returned less than four plots the remaining ViewFrames will be cleared.
This commit is contained in:
@@ -214,7 +214,14 @@ class MainView (gtk.Notebook):
|
||||
else:
|
||||
vf = self._large_view
|
||||
vf.set_view(view)
|
||||
|
||||
|
||||
def set_all_plots(self, plots):
|
||||
for vf in self._view_frames:
|
||||
if plots:
|
||||
vf.set_view(plots.pop())
|
||||
else:
|
||||
vf.set_view(None)
|
||||
|
||||
def show(self):
|
||||
for vf in self._view_frames:
|
||||
vf.show()
|
||||
|
Reference in New Issue
Block a user