| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
You were right @AlexEMG , the close_figure_after_save parameter in superanimal_analyze_images() was originally set to False for its usage in the COLAB_YOURDATA_SuperAnimal.ipynb notebook! Therefore I changed the default to True, and added close_figure_after_save=False in the notebook. |
Sorry, something went wrong.
|
Excellent! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description:
This PR exposes the close_figure_after_save parameter in superanimal_analyze_images() and sets its default value to True. This ensures that figures are closed after being saved, preventing matplotlib from issuing warnings when many figures are created in sequence.
To preserve interactive visualization in tutorials, the COLAB_YOURDATA_SuperAnimal.ipynb notebook has been updated to explicitly set close_figure_after_save=False.
Motivation:
A user reported on the forum that they encounter:
By default, figures are now closed automatically after saving, suppressing this warning. Users who want to keep figures open (e.g., in notebooks) can set close_figure_after_save=False.