diff --git a/autofit/non_linear/quick_update.py b/autofit/non_linear/quick_update.py index 3af991c9e..3db59d0d9 100644 --- a/autofit/non_linear/quick_update.py +++ b/autofit/non_linear/quick_update.py @@ -31,13 +31,11 @@ def _convert_jax_to_numpy(instance): return instance -# Filename the worker looks for under `paths.image_path` when refreshing -# a live quick-update display. Every dataset-type `subplot_fit` plotter -# in PyAutoGalaxy / PyAutoLens writes this exact name — the basename -# `"fit"` is passed to `_save_subplot` / `save_figure`, which appends -# the `.png` extension. The `subplot_` prefix that the constant used to -# carry no longer exists on any output anywhere in the codebase. -_DISPLAY_CANDIDATES = ("fit.png",) +# Filenames the worker looks for under `paths.image_path` when refreshing +# a live quick-update display. The first existing file wins. Quick updates +# write `fit_quick.png` (6-panel subplot); full updates write `fit.png` +# (12-panel). The quick variant is preferred when both exist. +_DISPLAY_CANDIDATES = ("fit_quick.png", "fit.png") def _is_ipython_kernel() -> bool: