Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions autofit/non_linear/quick_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading