Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0823022

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ def get_fontconfig_fonts(fontext='ttf'):
270270

271271
fontfiles = {}
272272
try:
273+
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
273274
pipe = subprocess.Popen(['fc-list', '--format=%{file}\\n'],
274275
stdout=subprocess.PIPE,
275276
stderr=subprocess.PIPE)

0 commit comments

Comments
 (0)