GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit fec03df8 authored by Thomas Vincent's avatar Thomas Vincent

Effectively use local fit plotter

parent 37d29b44
......@@ -45,7 +45,7 @@ from ..project.QSpaceGroup import QSpaceItem
from .fitview.FitModel import FitModel, FitH5Node
from .fitview.DropPlotWidget import DropPlotWidget
from ...fit import GaussianPlotter, CentroidPlotter
from .fitview.Plotter import GaussianPlotter, CentroidPlotter
from ...process.fit.peak_fit import background_estimation, BackgroundTypes
......@@ -287,8 +287,6 @@ class FitView(Qt.QMainWindow):
plotterKlass = GaussianPlotter
elif entry == 'Centroid':
plotterKlass = CentroidPlotter
elif entry == 'SilxFit':
plotterKlass = SilxPlotter
else:
raise RuntimeError("Unsupported entry: %s" % entry)
plotter = plotterKlass()
......
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