diff --git a/histoqc/_pipeline.py b/histoqc/_pipeline.py index 66a5922..1e21ad4 100644 --- a/histoqc/_pipeline.py +++ b/histoqc/_pipeline.py @@ -200,6 +200,7 @@ def setup_plotting_backend(logger=None, debug=False): if debug and (platform.system() == "Windows" or os.environ.get('DISPLAY')): matplotlib.use('TkAgg') + logger.info("Display found and debug mode enabled. Using TkAgg backend for matplotlib.") else: matplotlib.use('Agg')