Title: [ENH]: Format PercentFormatter based on usetex value · Issue #28126 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: Format PercentFormatter based on usetex value · Issue #28126 · matplotlib/matplotlib
X Title: [ENH]: Format PercentFormatter based on usetex value · Issue #28126 · matplotlib/matplotlib
Description: Problem When usetex=True, the PercentFormatter renders using text mode instead of math mode. Proposed solution It should be treated similar to how ScalarFormatter wraps the string. The entire string should be wrapped including both the n...
Open Graph Description: Problem When usetex=True, the PercentFormatter renders using text mode instead of math mode. Proposed solution It should be treated similar to how ScalarFormatter wraps the string. The entire strin...
X Description: Problem When usetex=True, the PercentFormatter renders using text mode instead of math mode. Proposed solution It should be treated similar to how ScalarFormatter wraps the string. The entire strin...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/28126
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: Format PercentFormatter based on usetex value","articleBody":"### Problem\r\n\r\nWhen `usetex=True`, the `PercentFormatter` renders using text mode instead of math mode.\r\n\r\n### Proposed solution\r\n\r\nIt should be treated similar to [how `ScalarFormatter` wraps the string](https://github.com/matplotlib/matplotlib/blob/v3.8.4/lib/matplotlib/ticker.py#L812). The entire string should be wrapped including both the number and symbol.\r\n\r\nRelated:\r\n#26179\r\n#6886\r\n#7965","author":{"url":"https://github.com/voidstarstar","@type":"Person","name":"voidstarstar"},"datePublished":"2024-04-23T23:02:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/28126/matplotlib/issues/28126"}
| 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:42db8d9a-52d8-b5f5-153a-b9da7054fcf3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC66:1D923B:104E844:15FBD1B:6A54477D |
| html-safe-nonce | 91d3fd2de0129ff1214830a292ecfa63a3daf8b5446c3c02e36400d430c5e0c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzY2OjFEOTIzQjoxMDRFODQ0OjE1RkJEMUI6NkE1NDQ3N0QiLCJ2aXNpdG9yX2lkIjoiNzU1MTIxNjgxNTAzODU0NzgzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 653c7d94d48b24ef86e2eddafc962bc57231fe63ac085946f4d923912bfc8397 |
| hovercard-subject-tag | issue:2259915804 |
| 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/28126/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2018fbb8f0091d16ccfd42d0dfc2bcb228787b9d503dfbe58ff1a8c438e7044d/matplotlib/matplotlib/issues/28126 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2018fbb8f0091d16ccfd42d0dfc2bcb228787b9d503dfbe58ff1a8c438e7044d/matplotlib/matplotlib/issues/28126 |
| og:image:alt | Problem When usetex=True, the PercentFormatter renders using text mode instead of math mode. Proposed solution It should be treated similar to how ScalarFormatter wraps the string. The entire strin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | voidstarstar |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width