Skip to content

Commit

Permalink
fixing example
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegeus committed May 2, 2023
1 parent c88b850 commit 4044cae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/examples/goosempl/fit_linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@

ax.errorbar(x, y, yerr=yerr, marker="o")

offset, slope, details = gplt.fit_linear(
x, y, yerr=yerr, axis=ax, c="r", extrapolate=dict(ls="--", c="r")
)
gplt.fit_linear(x, y, yerr=yerr, axis=ax, c="r", extrapolate=dict(ls="--", c="r"))

plt.savefig("fit_linear.svg")
plt.close()

0 comments on commit 4044cae

Please sign in to comment.