Skip to content

Commit

Permalink
Fit functions: fixing typo in auto_fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegeus committed Jan 27, 2022
1 parent 2745f88 commit f183cf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GooseMPL/__init__.py
Expand Up @@ -1374,7 +1374,7 @@ def fit_powerlaw(
[
r"$({prefactor:.2f} \pm {prefactor_error:.2f})",
auto_fmt,
r"^{{{exponent:.2f} \pm {prefactor_error:.2f}}}$",
r"^{{{exponent:.2f} \pm {exponent_error:.2f}}}$",
]
)

Expand Down Expand Up @@ -1525,7 +1525,7 @@ def fit_exp(
fmt = "".join(
[
r"$({prefactor:.2f} \pm {prefactor_error:.2f})",
r"\exp( {exponent:.2f} \pm {prefactor_error:.2f}",
r"\exp( {exponent:.2f} \pm {exponent_error:.2f}",
auto_fmt,
")$",
]
Expand Down

0 comments on commit f183cf4

Please sign in to comment.