diff --git a/pyglotaran_extras/plotting/plot_residual.py b/pyglotaran_extras/plotting/plot_residual.py index 0f0731eb..36dd06c5 100644 --- a/pyglotaran_extras/plotting/plot_residual.py +++ b/pyglotaran_extras/plotting/plot_residual.py @@ -93,7 +93,7 @@ def plot_residual( res, ax=ax, spectral_axis="y", cycler=cycler, irf_location=irf_location ) ax.set_xlabel("time") - ax.legend() + ax.legend(loc="upper right") if linlog: ax.set_xscale("symlog", linthresh=linthresh) ax.xaxis.set_minor_locator(MinorSymLogLocator(linthresh))