Title: Define \mathdefault as a noop in the usetex preamble. by anntzer · Pull Request #15695 · matplotlib/matplotlib · GitHub
Open Graph Title: Define \mathdefault as a noop in the usetex preamble. by anntzer · Pull Request #15695 · matplotlib/matplotlib
X Title: Define \mathdefault as a noop in the usetex preamble. by anntzer · Pull Request #15695 · matplotlib/matplotlib
Description: This avoids having to strip out \mathdefault (a non-existent latex command) before generating usetex strings, as that's brittle on tickers -- the global usetex flag may change after the ticker is instantiated. Closes #10317. (Note that we claim that the semantics of \mathdefault is "match the non-math font", but in usetex mode we previously just stripped it out anyways; making TeX actually use the non-math font in math would be... trickier.) 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: This avoids having to strip out \mathdefault (a non-existent latex command) before generating usetex strings, as that's brittle on tickers -- the global usetex flag may change after the ticker ...
X Description: This avoids having to strip out \mathdefault (a non-existent latex command) before generating usetex strings, as that's brittle on tickers -- the global usetex flag may change after the tic...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/15695
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1531b828-3411-6837-1ac7-c2f748b3020a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8840:2D10E3:98CDC6:CE0142:6A556618 |
| html-safe-nonce | ebe06404ce02f836d05bbe32ae6c91da540ea105a7a822bc3be2099e4b73883e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODQwOjJEMTBFMzo5OENEQzY6Q0UwMTQyOjZBNTU2NjE4IiwidmlzaXRvcl9pZCI6IjMxMTM0NzY5NzIwOTkyMzMzMDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | abf99ead4072844b2111e0a72ce9ea32fe4d2aa4728d4dc041ff6ac7cb32f47b |
| hovercard-subject-tag | pull_request:341005389 |
| 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/15695/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 | This avoids having to strip out \mathdefault (a non-existent latex command) before generating usetex strings, as that's brittle on tickers -- the global usetex flag may change after the ticker ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 8201d0b7bc32164c4662de52242e463a356df543 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width