-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Won't use a font although it can be found by the FontManager #3590
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
Comments
When you add new fonts to your system, you need to delete your fontList.cache file in order for matplotlib to find them. The reason it works on lines 4/5 in your example is because you are creating a FontManager from scratch (which goes out to the filesystem and hunts down all the fonts). Internally, when matplotlib later does its own font lookup, it is using a FontManager that has been loaded from a cache on disk in the fontList.cache file. Long term, we have plans to switch to using the font lookup mechanisms of the OS to get around this problem, (see MEP14), but in the meantime, you'll need to remove the fontList.cache file everytime you want matplotlib to discover new fonts. |
Perfect! That trick did it. the fontList.cache is located at Home/.matplotlib |
Blah, should have known that... |
maybe also /tmp/xdgcache/matplotlib directory in 1.4.2 version |
The matplotlib font cache can be found here: |
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
This is closed so apologies for raising it again. This is not working for me, matplotlib version: 1.5.1. |
At the least, please try version 1.5.3. It has a lot of fixes that might
address your issue.
There has also been some more work on font handling for 2.0.x and master.
…On Thu, May 25, 2017 at 9:06 AM, kleinash ***@***.***> wrote:
This is closed so apologies for raising it again. This is not working for
me, matplotlib version: 1.5.1.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3590 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARy-CfZFDCw9PRMxPFTndBMPuzRsiSdks5r9XzigaJpZM4CoQ86>
.
|
Hi,
I was asked to file an Issue here on github, although I'm not sure if the problem is not in front of my PC... .
As a result I get (besides a graph using an unwanted font):
If I add Heuristica on first spot of the serif-font-Types this will also not work, (
i. e. font.serif : Heuristica, Bitstream Vera Serif
)I am using matplotlib 1.4.0 and Python 2.7.6, I asked this question on StackOverflow first
The text was updated successfully, but these errors were encountered: