Title: ENH: Fixed PercentFormatter usage with latex by madphysicist · Pull Request #7965 · matplotlib/matplotlib · GitHub
Open Graph Title: ENH: Fixed PercentFormatter usage with latex by madphysicist · Pull Request #7965 · matplotlib/matplotlib
X Title: ENH: Fixed PercentFormatter usage with latex by madphysicist · Pull Request #7965 · matplotlib/matplotlib
Description: This PR addresses a nagging issue that I have had with PercentFormatter, namely that it does not handle LaTeX labels correctly unless preconfigured to do so. The proposed solution allows the labels to be generated correctly with the same formatter even if rcParams['text.usetex'] changes between calls. I also added it to the big formatter example and modified one of the existing pylab examples where it clearly belongs. This PR also includes the of IDs to test_percentformatter that I made in #7482.
Open Graph Description: This PR addresses a nagging issue that I have had with PercentFormatter, namely that it does not handle LaTeX labels correctly unless preconfigured to do so. The proposed solution allows the labels...
X Description: This PR addresses a nagging issue that I have had with PercentFormatter, namely that it does not handle LaTeX labels correctly unless preconfigured to do so. The proposed solution allows the labels...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/7965
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ea09c83e-df8b-066f-ddf1-76cfd32a0c31 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D4DA:2A8696:296BCE0:37E6D16:6A54882B |
| html-safe-nonce | 45caa1bc1de0c0bef7c33eb9e30c1e58d8a85b824223558f8f2166226489b4c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENERBOjJBODY5NjoyOTZCQ0UwOjM3RTZEMTY6NkE1NDg4MkIiLCJ2aXNpdG9yX2lkIjoiNTg3ODIyNjM1NzczODMwOTY3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9de70386df48311c9424f1622c0096f40bdb5c2b71c380bf818f8b4013908444 |
| hovercard-subject-tag | pull_request:103575591 |
| 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/7965/files |
| twitter:image | https://avatars.githubusercontent.com/u/4617010?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4617010?s=400&v=4 |
| og:image:alt | This PR addresses a nagging issue that I have had with PercentFormatter, namely that it does not handle LaTeX labels correctly unless preconfigured to do so. The proposed solution allows the labels... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 03ccb116376fd46e8ba2a4cdc541e35f13f70734 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width