Fix wrong labels for shift and scale
This commit is contained in:
1 parent
fa2b57dcd9
commit
4c5341bb95
1 file changed
+1
-1
@@ -476,7 +476,7 @@ class ExperimentContainer(QtCore.QObject):
|
|||||||
self.data.y = self.data.y * scale_y + shift_y
|
self.data.y = self.data.y * scale_y + shift_y
|
||||||
self.data.y_err = self.data.y_err * scale_y
|
self.data.y_err = self.data.y_err * scale_y
|
||||||
|
|
||||||
self.update({'shift': scaling_factor, 'scale': shift_factor})
|
self.update({'scale': scaling_factor, 'shift': shift_factor})
|
||||||
|
|
||||||
def get_namespace(self, i: int = None, j: int = None) -> dict:
|
def get_namespace(self, i: int = None, j: int = None) -> dict:
|
||||||
if (i is None) and (j is None):
|
if (i is None) and (j is None):
|
||||||
|
|||||||
Reference in new issue
Block a user