diff --git a/system/plots.py b/system/plots.py index 33004c5..977c99c 100644 --- a/system/plots.py +++ b/system/plots.py @@ -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: