Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 6 additions & 2 deletions autofit/non_linear/fitness.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,11 @@ def manage_quick_update(self, parameters, log_likelihood):

from IPython.display import clear_output

clear_output(wait=True)
# Clearing a notebook cell removes the display_id target used by
# LiveDisplay.update_display, leaving later image updates invisible.
# Keep that target alive for both synchronous and background renders.
if not self.live_visual_update:
clear_output(wait=True)

start_time = time.time()

Expand Down Expand Up @@ -997,4 +1001,4 @@ def check_log_likelihood(self, fitness):
Old Log Likelihood = {log_likelihood_old}
New Log Likelihood = {log_likelihood_new}
"""
)
)
Loading
Loading