Title: Hyphen as a subscript doesn't appear at certain font sizes · Issue #4428 · matplotlib/matplotlib · GitHub
Open Graph Title: Hyphen as a subscript doesn't appear at certain font sizes · Issue #4428 · matplotlib/matplotlib
X Title: Hyphen as a subscript doesn't appear at certain font sizes · Issue #4428 · matplotlib/matplotlib
Description: If I add text "$A_-$" to try to print an A with a hyphen as a subscript, some of the time that subscript does not show up. With only this text, it seems to appear if the font size is less than 20, but not if the font size is 20 or larger...
Open Graph Description: If I add text "$A_-$" to try to print an A with a hyphen as a subscript, some of the time that subscript does not show up. With only this text, it seems to appear if the font size is less than 20, ...
X Description: If I add text "$A_-$" to try to print an A with a hyphen as a subscript, some of the time that subscript does not show up. With only this text, it seems to appear if the font size is less...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4428
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hyphen as a subscript doesn't appear at certain font sizes","articleBody":"If I add text \"$A_-$\" to try to print an A with a hyphen as a subscript, some of the time that subscript does not show up. With only this text, it seems to appear if the font size is less than 20, but not if the font size is 20 or larger. It appears if there is more text with another subscript, maybe? I'm not sure what triggers it. Could the subscript be getting clipped off of the bottom?\n\nHere is an example:\n\n```\nimport matplotlib.pyplot as plt\nfig = plt.figure()\nax = fig.add_subplot(111)\nax.axis([0, 6, 0, 6])\nax.text(1, 1, '$A_-$', fontsize=19) # subscript visible\nax.text(1, 2, '$A_-$', fontsize=20) # no subscript\nax.text(1, 3, '$A_-B$', fontsize=20) # no subscript\nax.text(1, 4, '$A_-B_+$', fontsize=20) # subscript visible\n```\n","author":{"url":"https://github.com/jhpalmieri","@type":"Person","name":"jhpalmieri"},"datePublished":"2015-05-14T17:57:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/4428/matplotlib/issues/4428"}
| 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:ec36e272-1695-5c9b-2ed6-20111df1eb25 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCFE:7586F:E72B1E:13B1F19:6A521CD6 |
| html-safe-nonce | e97340e4d17e1020849183aeb9a123f5e7741542e988fff540aba1fed69a3c95 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0ZFOjc1ODZGOkU3MkIxRToxM0IxRjE5OjZBNTIxQ0Q2IiwidmlzaXRvcl9pZCI6IjE5OTIxNDU5MTgzMjE4OTI1NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 032f1220c031dba89bd0113dcfe044dd5ea533cc8d4734447332843dd8590263 |
| hovercard-subject-tag | issue:76438540 |
| 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/4428/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bd28972ce2232b4c99c5362a92397024da4973f7b8ea51806d191b8b692bfc61/matplotlib/matplotlib/issues/4428 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bd28972ce2232b4c99c5362a92397024da4973f7b8ea51806d191b8b692bfc61/matplotlib/matplotlib/issues/4428 |
| og:image:alt | If I add text "$A_-$" to try to print an A with a hyphen as a subscript, some of the time that subscript does not show up. With only this text, it seems to appear if the font size is less than 20, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jhpalmieri |
| 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