Title: Won't use a font although it can be found by the FontManager · Issue #3590 · matplotlib/matplotlib · GitHub
Open Graph Title: Won't use a font although it can be found by the FontManager · Issue #3590 · matplotlib/matplotlib
X Title: Won't use a font although it can be found by the FontManager · Issue #3590 · matplotlib/matplotlib
Description: 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... . from pylab import * from math import sin rc('text', usetex = False) la = matplotlib.font_manager.FontManager() lu = matpl...
Open Graph Description: 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... . from pylab import * from math import sin rc('text', usetex = False) la = matplotl...
X Description: 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... . from pylab import * from math import sin rc('text', usetex = False) l...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3590
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Won't use a font although it can be found by the FontManager","articleBody":"Hi,\nI was asked to file an Issue here on github, although I'm not sure if the problem is not in front of my PC... .\n\n``` python\nfrom pylab import *\nfrom math import sin\nrc('text', usetex = False)\nla = matplotlib.font_manager.FontManager()\nlu = matplotlib.font_manager.FontProperties(family = 'Heuristica')\nprint la.findfont(lu)\nx = np.arange(0,5,0.1)\ny = map(sin,x)\ntitle('This is an unnecessary title', family = 'Heuristica')\nplot(x,y)\nshow()\n```\n\nAs a result I get (besides a graph using an unwanted font):\n\n```\nC:\\Windows\\Fonts\\Heuristica-Regular.otf\nC:\\Python27\\lib\\site-packages\\matplotlib\\font_manager.py:1279: UserWarning: findfont: Font family ['Heuristica'] not found. Falling back to Bitstream Vera Sans\n(prop.get_family(), self.defaultFamily[fontext]))\n```\n\nIf I add Heuristica on first spot of the serif-font-Types this will also not work, (`i. e. font.serif : Heuristica, Bitstream Vera Serif`)\n\nI am using matplotlib 1.4.0 and Python 2.7.6, I asked this question on [StackOverflow](http://stackoverflow.com/questions/26085867/matplotlib-font-not-found) first\n","author":{"url":"https://github.com/MichaelAdolph","@type":"Person","name":"MichaelAdolph"},"datePublished":"2014-09-29T08:31:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/3590/matplotlib/issues/3590"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d11b9c31-9f91-978c-4898-810b4ed6c2e8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC36:1525EF:AC19B8:E415AA:6A518975 |
| html-safe-nonce | 18a31f356fc9b6794af17367b2852a3ffa63a9f015e7aaf0beab695ef5d37798 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzM2OjE1MjVFRjpBQzE5Qjg6RTQxNUFBOjZBNTE4OTc1IiwidmlzaXRvcl9pZCI6IjE0NDM3OTMwODk4NjA4MzE2MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 18f21094ecbcb838fd04348bc86551c7fddaa7f6fe911be359af8e167688eed7 |
| hovercard-subject-tag | issue:44269182 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/3590/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e8fd7a3f5e40896cf6e8a1f83b9dce011d25760b295a6a24d0d7afabe49f072d/matplotlib/matplotlib/issues/3590 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e8fd7a3f5e40896cf6e8a1f83b9dce011d25760b295a6a24d0d7afabe49f072d/matplotlib/matplotlib/issues/3590 |
| og:image:alt | 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... . from pylab import * from math import sin rc('text', usetex = False) la = matplotl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MichaelAdolph |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cb77a7b8b06cd86c243be33fd8e7922d70a9d243 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width