Title: Fix unicode_minus + usetex. by anntzer · Pull Request #14567 · matplotlib/matplotlib · GitHub
Open Graph Title: Fix unicode_minus + usetex. by anntzer · Pull Request #14567 · matplotlib/matplotlib
X Title: Fix unicode_minus + usetex. by anntzer · Pull Request #14567 · matplotlib/matplotlib
Description: ... by telling TeX to treat \u2212 (unicode minus) as a minus sign. This also uncovered a bug in _parse_enc (basically, there can be multiple character entries per line, so one needs to use .split() instead of .split("\n"). Closes #8423 (more accurately, #8423 (comment); the original version of the bug is already closed by #11381). PR Summary PR Checklist Has Pytest style unit tests Code is Flake 8 compliant New features are documented, with examples if plot related Documentation is sphinx and numpydoc compliant Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there) Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way
Open Graph Description: ... by telling TeX to treat \u2212 (unicode minus) as a minus sign. This also uncovered a bug in _parse_enc (basically, there can be multiple character entries per line, so one needs to use .split(...
X Description: ... by telling TeX to treat \u2212 (unicode minus) as a minus sign. This also uncovered a bug in _parse_enc (basically, there can be multiple character entries per line, so one needs to use .split(...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/14567
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7e25d7f4-b078-de95-7611-c9c2909aa44d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A852:3ABA21:6D442:931FF:6A5686AF |
| html-safe-nonce | 19dd6b8a6e3cf4192c18ac35227d95f3c3938a1942c7673fd57b6ae9683d1a94 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODUyOjNBQkEyMTo2RDQ0Mjo5MzFGRjo2QTU2ODZBRiIsInZpc2l0b3JfaWQiOiI4NzAxMTI4NDA2NTY0NTA1MjYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0b8d56030a3eccb80f00e0480857963cd296fc54af44ce64326c31cd55967cb1 |
| hovercard-subject-tag | pull_request:289194152 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/matplotlib/matplotlib/pull/14567/files |
| twitter:image | https://avatars.githubusercontent.com/u/1322974?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1322974?s=400&v=4 |
| og:image:alt | ... by telling TeX to treat \u2212 (unicode minus) as a minus sign. This also uncovered a bug in _parse_enc (basically, there can be multiple character entries per line, so one needs to use .split(... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b5ee9431dcfce15ab4b001d626e4e3a6ba1acb7be814813a52bbebd9a86ef5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fc131753d059926755b1ab26f13a2c96a692f5d7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width