Skip to content
Features
Business
Explore
Marketplace
Pricing
This repository
Sign in
or
Sign up
Watch
440
Star
5,572
Fork
2,667
matplotlib
/
matplotlib
Code
Issues
992
Pull requests
229
Projects
5
Wiki
Insights
Pulse
Graphs
Warning message prior to fc-list command
#5640
Merged
tacaswell
merged 2 commits into
matplotlib
:
master
from
notmatthancock
:
master
Dec 23, 2015
Conversation
14
Commits
2
Files changed
1
Changes from
all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
5d3f8a7
Added warning message before fc-list command
notmatthancock
Dec 9, 2015
d275277
Added warning message before fc-list command
notmatthancock
Dec 10, 2015
1 file
Jump to file
No files or symbols found.
+1
−0
font_manager.py
lib/matplotlib/font_manager.py
+1
−0
Unified
Split
Show comments
View
1
lib/matplotlib/font_manager.py
@@ -276,6 +276,7 @@ def get_fontconfig_fonts(fontext='ttf'):
fontfiles
=
{}
try
:
+ warnings.warn(
'
Matplotlib is building the font cache using fc-list. This may take a moment.
'
)
pipe
=
subprocess.Popen([
'
fc-list
'
,
'
--format=%
{file}
\\
n
'
],
stdout
=
subprocess.
PIPE
,
stderr
=
subprocess.
PIPE
)
Toggle all file notes
You can't perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.