-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Warning message prior to fc-list command #5640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
👍 |
Eventually #5414 will fix this altogether, but this is fine for now. |
👍 I would change the text to something like "Building Matplotlib font cache by running fc-list. This could take a few minutes." |
Maybe "Matplotlib is building {cachename} using fc-list. This may take a moment". I prefer "moment" over "minutes" because it is ambiguous and thus a bit future-proof. Each person's perception of a moment is shaped by the computer they are using, so it is a bit more flexible, too. |
Warning message prior to fc-list command
Warning message prior to fc-list command
Warning message prior to fc-list command
One thing I don't understand: why is it giving this warning every time I load matplotlib? Does it build the font cache every time? |
It should only be rebuilding each time if it doesn't have write permissions to |
@mdboom, thanks for your quick reply. I am using Ubuntu, my user owns |
Do you own that file too and have user write access to it? |
Sure:
(owner write access...) |
Which version are you using 1.5.x and 2.x uses a binary font cache but I would suggest moving those files out of the way and try again if you are using 1.5.1 or on the 2.x branch. |
I am using matplotlib 1.5.1, just downloaded via pip. I have removed the files as you suggested, and after they were created again (during the first time I've imported |
I run into similar behavior when opening both my system matplotlib of 1.3.1 and my installed version of 1.5.1. Apparently the older file format with matplotlib 1.3.1 always causes matplotlib 1.5.1 to rescan, but not update the file. |
I'm glad this warning is here as it means I know to wait for it to run. @pelegm I found that if I deleted everything in ~/.matplotlib (I'm on OSX) it generated once and I've not had the message since. |
commit for the figures for #11 Will need to follow with an update to SCHelp describing the scales [gain, r, theta] NOTE: Fonts and scaling have changed as a result of an issue with anaconda/matplotlib. Some relevant issues can be found here: fonnesbeck/ScipySuperpack#39 matplotlib/matplotlib#5836 matplotlib/matplotlib#5640 matplotlib/matplotlib#6721 matplotlib/matplotlib#3590
More verbose Intro-to-the-ATK. Describe in more detail how to read transform figures with description of sound field quality measure, rE. Transform plots now illustrate rE rather than rV, which is more closely tied to perception. NOTE: Fonts and scaling have changed as a result of an issue with anaconda/matplotlib. Some relevant issues can be found here: fonnesbeck/ScipySuperpack#39 matplotlib/matplotlib#5836 matplotlib/matplotlib#5640 matplotlib/matplotlib#6721 matplotlib/matplotlib#3590
When the font cache is first created,
fc-list
may take up to several minutes on some machines. No indication is given that this is being done. This adds a warning so the user is aware.#2919