def __init__(self, key, result, options, parent=None): _FigureResultMixin.__init__(self) _SaveableResultWidget.__init__(self, key, result, options, parent) self._drawFigure()
def __init__(self, results, parent=None): self._results = results _FigureResultMixin.__init__(self) _BaseResultWidget.__init__(self, results.options, parent) self.setTitle("Summary") self._drawFigure()