diff --git a/docs/examples/droplet_fusion/droplet_fusion.rst b/docs/examples/droplet_fusion/droplet_fusion.rst index 2e469572b..0708fdcbd 100644 --- a/docs/examples/droplet_fusion/droplet_fusion.rst +++ b/docs/examples/droplet_fusion/droplet_fusion.rst @@ -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()