Title: [Doc]: svg.fonttype: None in custom style sheet gives an error · Issue #22546 · matplotlib/matplotlib · GitHub
Open Graph Title: [Doc]: svg.fonttype: None in custom style sheet gives an error · Issue #22546 · matplotlib/matplotlib
X Title: [Doc]: svg.fonttype: None in custom style sheet gives an error · Issue #22546 · matplotlib/matplotlib
Description: Documentation Link https://matplotlib.org/stable/tutorials/introductory/customizing.html Problem Based on #svg.fonttype: path # How to handle SVG fonts: # path: Embed characters as paths -- supported # by most SVG renderers # None: Assum...
Open Graph Description: Documentation Link https://matplotlib.org/stable/tutorials/introductory/customizing.html Problem Based on #svg.fonttype: path # How to handle SVG fonts: # path: Embed characters as paths -- support...
X Description: Documentation Link https://matplotlib.org/stable/tutorials/introductory/customizing.html Problem Based on #svg.fonttype: path # How to handle SVG fonts: # path: Embed characters as paths -- support...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/22546
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Doc]: svg.fonttype: None in custom style sheet gives an error","articleBody":"### Documentation Link\n\nhttps://matplotlib.org/stable/tutorials/introductory/customizing.html\n\n### Problem\n\nBased on\r\n```\r\n#svg.fonttype: path # How to handle SVG fonts:\r\n # path: Embed characters as paths -- supported\r\n # by most SVG renderers\r\n # None: Assume fonts are installed on the\r\n # machine where the SVG will be viewed.\r\n```\r\nI tried to make a style sheet including `svg.fonttype: None` but when I did `import matplotlib.pyplot as plt` I got this error:\r\n\r\n```\r\nBad value in file PosixPath('/Users/Elizabeth/.matplotlib/stylelib/EJM-modified_seaborn-white.mplstyle'), line 35 ('svg.fonttype: None # How to handle SVG fonts:'): Key svg.fonttype: 'None' is not a valid value for svg.fonttype; supported values are ['none', 'path']\r\n```\n\n### Suggested improvement\n\nI think that the 'N' in \"None\" should be lowercase, and also I find that it needing to be lowercase in this situation is confusing because in the next property `svg.hashsalt: None` n is indeed capitalized","author":{"url":"https://github.com/emay2022","@type":"Person","name":"emay2022"},"datePublished":"2022-02-23T18:16:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/22546/matplotlib/issues/22546"}
| 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:b82c1fb4-48ea-f94c-c88f-eec3eb31d414 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF0E:D0E8C:111B050:16D0042:6A51C546 |
| html-safe-nonce | 6563bc1df89bedfc1ad74ea9390be8748c830ea18eb471d38bc10330f6a299f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjBFOkQwRThDOjExMUIwNTA6MTZEMDA0Mjo2QTUxQzU0NiIsInZpc2l0b3JfaWQiOiI2MDIyOTgxMDg3OTE5MTk1NDYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eebd25ea739caca66c53b69d692080c48c2df462f338706ca3d5fbfa9f892971 |
| hovercard-subject-tag | issue:1148427437 |
| 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/22546/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3a049bbe2bf56747f24d5ba01a4cec7a1e4ffe4df6b691d6d8abee1610936e34/matplotlib/matplotlib/issues/22546 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3a049bbe2bf56747f24d5ba01a4cec7a1e4ffe4df6b691d6d8abee1610936e34/matplotlib/matplotlib/issues/22546 |
| og:image:alt | Documentation Link https://matplotlib.org/stable/tutorials/introductory/customizing.html Problem Based on #svg.fonttype: path # How to handle SVG fonts: # path: Embed characters as paths -- support... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | emay2022 |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width