Title: [MNT]: Improve readability of _mathtext_data.stix_virtual_fonts table · Issue #25738 · matplotlib/matplotlib · GitHub
Open Graph Title: [MNT]: Improve readability of _mathtext_data.stix_virtual_fonts table · Issue #25738 · matplotlib/matplotlib
X Title: [MNT]: Improve readability of _mathtext_data.stix_virtual_fonts table · Issue #25738 · matplotlib/matplotlib
Description: Summary Reviewing https://github.com/matplotlib/matplotlib/pull/25359/files#diff-49ee499471e3397e95aa265c6694a643c8c16c625c700da06b9c3c58db69fc52 I noted that an annoying part is just looking at the codepoint values. One idea to improve ...
Open Graph Description: Summary Reviewing https://github.com/matplotlib/matplotlib/pull/25359/files#diff-49ee499471e3397e95aa265c6694a643c8c16c625c700da06b9c3c58db69fc52 I noted that an annoying part is just looking at th...
X Description: Summary Reviewing https://github.com/matplotlib/matplotlib/pull/25359/files#diff-49ee499471e3397e95aa265c6694a643c8c16c625c700da06b9c3c58db69fc52 I noted that an annoying part is just looking at th...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/25738
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[MNT]: Improve readability of _mathtext_data.stix_virtual_fonts table","articleBody":"### Summary\n\nReviewing https://github.com/matplotlib/matplotlib/pull/25359/files#diff-49ee499471e3397e95aa265c6694a643c8c16c625c700da06b9c3c58db69fc52 I noted that an annoying part is just looking at the codepoint values. One idea to improve readability would be to replace lines such as\r\n```python\r\n(0x0393, 0x03a9, 'bfit', 0x1d71E), # \\Gamma-\\Omega\r\n```\r\nby\r\n```python\r\n(\"\\N{GREEK CAPITAL LETTER GAMMA}\", \"\\N{GREEK CAPITAL LETTER OMEGA}\", \"bfit\",\r\n \"\\N{MATHEMATICAL BOLD ITALIC CAPITAL GAMMA}\"),\r\n```\r\nwhich seems much more self-documenting (and adapting the table reading code to support that seems easy enough and have negligible cost -- just a matter of calling ord() in a few places).\n\n### Proposed fix\n\n_No response_","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2023-04-20T19:53:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/25738/matplotlib/issues/25738"}
| 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:13b35aab-f41d-690b-38d6-7d8348ab1e4c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9520:3E37F3:C489A0:1030699:6A518F9B |
| html-safe-nonce | 915c86414eccbf04da6414433047f3382106510470d8c5061e6e46813ccdfffd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTIwOjNFMzdGMzpDNDg5QTA6MTAzMDY5OTo2QTUxOEY5QiIsInZpc2l0b3JfaWQiOiIzNTMwOTI0OTQ0MDQ0MTY3MDY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7cee4087295eaa06348bfef8e4cc6df4b11e23fbf8f24e25b886853dc2900a15 |
| hovercard-subject-tag | issue:1677324356 |
| 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/25738/issue_layout |
| twitter:image | https://opengraph.githubassets.com/354f92759afbdd406efbfa9db40593838e36390b56114a766f7249da77129f96/matplotlib/matplotlib/issues/25738 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/354f92759afbdd406efbfa9db40593838e36390b56114a766f7249da77129f96/matplotlib/matplotlib/issues/25738 |
| og:image:alt | Summary Reviewing https://github.com/matplotlib/matplotlib/pull/25359/files#diff-49ee499471e3397e95aa265c6694a643c8c16c625c700da06b9c3c58db69fc52 I noted that an annoying part is just looking at th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| 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