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)
|
vf.set_view(view)
|
||||||
|
|
||||||
def set_all_plots(self, plots):
|
def set_all_plots(self, plots):
|
||||||
for vf in self._view_frames:
|
for y in range(self._views.ysize):
|
||||||
|
for x in range(self._views.xsize):
|
||||||
if plots:
|
if plots:
|
||||||
vf.set_view(plots.pop())
|
self._views[x, y].set_view(plots.pop())
|
||||||
else:
|
else:
|
||||||
vf.set_view(None)
|
self._views[x, y].set_view(None)
|
||||||
|
|
||||||
def show(self):
|
def show(self):
|
||||||
for vf in self._view_frames:
|
for vf in self._view_frames:
|
||||||
|
|
Reference in New Issue