Commit 02b4d25d authored by DN's avatar DN

Using Xsocs2DPlot for the fit results.

parent 7da8c339
......@@ -425,35 +425,20 @@ class FitView(Qt.QMainWindow):
grpBox = GroupBox('Fit')
grpLayout = Qt.QVBoxLayout(grpBox)
plot = PlotWindow(grid=False,
curveStyle=False,
colormap=False,
roi=False,
mask=False,
yInverted=False)
plot.setActiveCurveHandling(False)
plot = XsocsPlot2D()
plot.setKeepDataAspectRatio(False)
grpLayout.addWidget(plot)
self.__fitPlots.append(plot)
plot.setGraphTitle('Qx fit')
plot = PlotWindow(grid=False,
curveStyle=False,
colormap=False,
roi=False,
mask=False,
yInverted=False)
plot.setActiveCurveHandling(False)
plot = XsocsPlot2D()
plot.setKeepDataAspectRatio(False)
grpLayout.addWidget(plot)
self.__fitPlots.append(plot)
plot.setGraphTitle('Qy fit')
plot = PlotWindow(grid=False,
curveStyle=False,
colormap=False,
roi=False,
mask=False,
yInverted=False)
plot.setActiveCurveHandling(False)
plot = XsocsPlot2D()
plot.setKeepDataAspectRatio(False)
grpLayout.addWidget(plot)
self.__fitPlots.append(plot)
plot.setGraphTitle('Qz fit')
......
......@@ -340,7 +340,7 @@ class XsocsPlot2D(PlotWindow):
showBarBn.setFixedWidth(size)
showBarBn.clicked.connect(self.__showBarBnClicked)
showBarBn.setAutoFillBackground(True)
self.__hidden = False
self.__hidden = True
self.__firstShow = True
self.__optionsBaseA = optionsBaseA = Qt.QWidget()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment