From 0fa05e070ec840607c7165f6ca1c9c91751963e4 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Thu, 30 Jan 2020 13:52:58 +0000 Subject: [PATCH] Log about font manager generation beforehand. --- lib/matplotlib/font_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/font_manager.py b/lib/matplotlib/font_manager.py index bea02d5856c3..bed1a768bf4e 100644 --- a/lib/matplotlib/font_manager.py +++ b/lib/matplotlib/font_manager.py @@ -1334,10 +1334,10 @@ def get_font(filename, hinting_factor=None): def _rebuild(): global fontManager + _log.info("Generating new fontManager, this may take some time...") fontManager = FontManager() with cbook._lock_path(_fmcache): json_dump(fontManager, _fmcache) - _log.info("generated new fontManager") try: