diff options
author | Alexandre Marie <alexandre.marie@synchrotron-soleil.fr> | 2020-01-30 11:47:01 +0100 |
---|---|---|
committer | Alexandre Marie <alexandre.marie@synchrotron-soleil.fr> | 2020-01-30 11:47:01 +0100 |
commit | 867a81e9d35da6d95a11deaf0deb679e58abed66 (patch) | |
tree | 5ad6620b7e0f75c12144508e4252825f0b3a7fc3 /silx/gui/fit/FitWidget.py | |
parent | 4b9a78d3afad181b195ccfe5bf7f6b7c8fb6aa50 (diff) | |
parent | 33ed2a64c92b0311ae35456c016eb284e426afc2 (diff) |
Update upstream source from tag 'upstream/0.12.0+dfsg'
Update to upstream version '0.12.0+dfsg'
with Debian dir 3ea2a979401866ff2d55ac0090bf496c85038fcb
Diffstat (limited to 'silx/gui/fit/FitWidget.py')
-rw-r--r-- | silx/gui/fit/FitWidget.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/silx/gui/fit/FitWidget.py b/silx/gui/fit/FitWidget.py index 78230b1..c3804e1 100644 --- a/silx/gui/fit/FitWidget.py +++ b/silx/gui/fit/FitWidget.py @@ -1,7 +1,7 @@ # coding: utf-8 # /*########################################################################## # -# Copyright (c) 2004-2017 European Synchrotron Radiation Facility +# Copyright (c) 2004-2020 European Synchrotron Radiation Facility # # This file is part of the PyMca X-ray Fluorescence Toolkit developed at # the ESRF by the Software group. @@ -315,8 +315,8 @@ class FitWidget(qt.QWidget): configuration.update(self.configure()) def setdata(self, x, y, sigmay=None, xmin=None, xmax=None): - warnings.warning("Method renamed to setData", - DeprecationWarning) + warnings.warn("Method renamed to setData", + DeprecationWarning) self.setData(x, y, sigmay, xmin, xmax) def setData(self, x, y, sigmay=None, xmin=None, xmax=None): @@ -525,8 +525,8 @@ class FitWidget(qt.QWidget): self._emitSignal(ddict) def startfit(self): - warnings.warning("Method renamed to startFit", - DeprecationWarning) + warnings.warn("Method renamed to startFit", + DeprecationWarning) self.startFit() def startFit(self): |