Skip to content

Commit 302f7cc

Browse files
committed
FitDialog: added missing "autofit" method
1 parent bfeb193 commit 302f7cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plotpy/widgets/fit.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,10 @@ def get_values(self) -> list[float]:
913913
"""
914914
return self.fit_widget.get_values()
915915

916+
def autofit(self) -> None:
917+
"""Autofit"""
918+
self.fit_widget.autofit()
919+
916920

917921
def guifit(
918922
x: np.ndarray,

0 commit comments

Comments
 (0)