Changeset 416fa8f in sasview for src/sas/qtgui/Plotter2D.py
- Timestamp:
- Dec 7, 2016 8:17:38 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- cad617b
- Parents:
- 64f1e93
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotter2D.py
r64f1e93 r416fa8f 11 11 from mpl_toolkits.mplot3d import Axes3D 12 12 13 class Plotter2D (PlotterBase):14 def __init__(self, parent=None, quickplot=False, dimension=2):13 class Plotter2DWidget(PlotterBase): 14 def __init__(self, parent=None, manager=None, quickplot=False, dimension=2): 15 15 self.dimension = dimension 16 super(Plotter2D , self).__init__(parent, quickplot=quickplot)16 super(Plotter2DWidget, self).__init__(parent, manager=manager, quickplot=quickplot) 17 17 18 18 @property … … 189 189 else: 190 190 self.figure.canvas.draw() 191 192 class Plotter2D(QtGui.QDialog, Plotter2DWidget): 193 def __init__(self, parent=None, quickplot=False, dimension=2): 194 195 QtGui.QDialog.__init__(self) 196 Plotter2DWidget.__init__(self, manager=parent, quickplot=quickplot, dimension=2)
Note: See TracChangeset
for help on using the changeset viewer.