Skip to content

Commit

Permalink
Update docs/examples/droplet_fusion/droplet_fusion.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Joep Vanlier <JoepVanlier@users.noreply.github.com>
  • Loading branch information
aafkevandenberg and JoepVanlier committed Aug 30, 2024
1 parent fff621c commit d668deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/droplet_fusion/droplet_fusion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Fit the data and plot the result::
popt, pcov = curve_fit(relaxation_model, time, force, [0.1, force[0], 0, 0])
plt.figure()
plt.plot(time, force)
plt.plot(time, relaxation_model(time,*popt), label=fr"$\tau$" = {popt[0]:0.2f}s')
plt.plot(time, relaxation_model(time,*popt), label=fr"$\tau$ = {popt[0]:0.2f}s")
plt.ylabel(r"x-coordinate ($\mu$m)")
plt.xlabel("Time (s)")
plt.legend()
Expand Down

0 comments on commit d668deb

Please sign in to comment.