Yet another bugfix on the plot updates. View frames will now be updated from
the upper left corner, horizontally first.
This commit is contained in:
parent
4b8ff16bbf
commit
42f6fd7440
@ -261,11 +261,12 @@ class MainView (gtk.Notebook):
|
||||
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)
|
||||
for y in range(self._views.ysize):
|
||||
for x in range(self._views.xsize):
|
||||
if plots:
|
||||
self._views[x, y].set_view(plots.pop())
|
||||
else:
|
||||
self._views[x, y].set_view(None)
|
||||
|
||||
def show(self):
|
||||
for vf in self._view_frames:
|
||||
|
Reference in New Issue
Block a user