Skip to content

Commit c4a94e5

Browse files
committed
Merge pull request #5640 from notmatthancock/master
Warning message prior to fc-list command
1 parent 7c05dee commit c4a94e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/font_manager.py

+1
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def get_fontconfig_fonts(fontext='ttf'):
276276

277277
fontfiles = {}
278278
try:
279+
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
279280
pipe = subprocess.Popen(['fc-list', '--format=%{file}\\n'],
280281
stdout=subprocess.PIPE,
281282
stderr=subprocess.PIPE)

0 commit comments

Comments
 (0)