From 6e436d396b244e64c9d88627f837fd013aa6e2f3 Mon Sep 17 00:00:00 2001 From: mjmroz Date: Sun, 17 Nov 2024 15:26:00 +0100 Subject: [PATCH] small correction --- examples/example_16/ulens_model_fit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example_16/ulens_model_fit.py b/examples/example_16/ulens_model_fit.py index 81db7cf4..fcbcac71 100644 --- a/examples/example_16/ulens_model_fit.py +++ b/examples/example_16/ulens_model_fit.py @@ -3507,8 +3507,8 @@ def _best_model_plot(self): plt.xlim(*xlim) plt.ylim(*ylim_residuals) axes.tick_params(**kwargs_axes_2) - if self._plots['best model'].get('file') is not None: - self._save_figure(self._plots['best model'].get('file'), dpi=dpi) + + self._save_figure(self._plots['best model'].get('file'), dpi=dpi) def _get_kwargs_for_best_model_plot(self): """