Changeset 2416 for trunk/python/asaplotgui_qt4.py
- Timestamp:
- 02/21/12 14:11:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asaplotgui_qt4.py
r2170 r2416 32 32 self.canvas = FigureCanvasQTAgg(self.figure) 33 33 # Simply instantiating this is enough to get a working toolbar. 34 self.figmgr = FigureManagerQTAgg(self.canvas, 1)34 self.figmgr = FigureManagerQTAgg(self.canvas, 0) 35 35 self.window = self.figmgr.window 36 36 self._set_window_title('ASAP Plotter - Qt4') 37 # register this plot to matplotlib 38 _pylab_helpers.Gcf.set_active(self.figmgr) 37 # Register this plot to matplotlib without activating it 38 #_pylab_helpers.Gcf.set_active(self.figmgr) 39 _pylab_helpers.Gcf.figs[self.figmgr.num] = self.figmgr 39 40 40 41 #############
Note: See TracChangeset
for help on using the changeset viewer.