10000 Added warning message before fc-list command · matplotlib/matplotlib@d275277 · GitHub
[go: up one dir, main page]

Skip to content

Commit d275277

Browse files
Added warning message before fc-list command
1 parent 5d3f8a7 commit d275277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 1 deletion
6612
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def get_fontconfig_fonts(fontext='ttf'):
276276

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

0 commit comments

Comments
 (0)
0