Title: tick labels displaced vertically with text.usetex and xcolor · Issue #19234 · matplotlib/matplotlib · GitHub
Open Graph Title: tick labels displaced vertically with text.usetex and xcolor · Issue #19234 · matplotlib/matplotlib
X Title: tick labels displaced vertically with text.usetex and xcolor · Issue #19234 · matplotlib/matplotlib
Description: Bug report Tick labels on vertical axes are displaced downwards when text.usetex is set to True. Code for reproduction import matplotlib.pyplot as plt plt.rcParams['text.usetex'] = True plt.scatter([0, 1, 2, 3], [2,3,1,6]) plt.show() # A...
Open Graph Description: Bug report Tick labels on vertical axes are displaced downwards when text.usetex is set to True. Code for reproduction import matplotlib.pyplot as plt plt.rcParams['text.usetex'] = True plt.scatter...
X Description: Bug report Tick labels on vertical axes are displaced downwards when text.usetex is set to True. Code for reproduction import matplotlib.pyplot as plt plt.rcParams['text.usetex'] = True plt...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/19234
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tick labels displaced vertically with text.usetex and xcolor","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\nTick labels on vertical axes are displaced downwards when `text.usetex` is set to True.\r\n\r\n**Code for reproduction**\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\nplt.rcParams['text.usetex'] = True\r\nplt.scatter([0, 1, 2, 3], [2,3,1,6])\r\nplt.show()\r\n#\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\r\n\r\n**Expected outcome**\r\n\r\n\r\n\r\nThis change happened between 3.2.1 and 3.2.2 (can reproduce in 3.2.2 onwards, inclusive)\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: Arch Linux\r\n * Matplotlib version: 3.2.2 onwards\r\n * Matplotlib backend: module://ipykernel.pylab.backend_inline\r\n * Python version: 3.9\r\n * Jupyter version (if applicable): 6.1.6\r\n * Other libraries: N/A\r\n\r\nMatplotlib installed with pip\r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\n","author":{"url":"https://github.com/darthoctopus","@type":"Person","name":"darthoctopus"},"datePublished":"2021-01-04T15:57:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/19234/matplotlib/issues/19234"}
| 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:792881f6-cea4-0269-cb35-03e47331abcd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C27C:2C65A3:267C755:346145A:6A53A5FA |
| html-safe-nonce | 1154bbf504d22a94bd564466a81b62ef33dbee0e2fea730959a0787c7fc06494 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjdDOjJDNjVBMzoyNjdDNzU1OjM0NjE0NUE6NkE1M0E1RkEiLCJ2aXNpdG9yX2lkIjoiODEyNDk5MDEyMDQwNTQ3Njg1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 033b603293a3443747b0952cce27f4db24f73db02437df0b5e241af7b5e1028d |
| hovercard-subject-tag | issue:778192045 |
| 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/19234/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c598c5e9dfded8bbce88b37ece859932cdc1b7dec84ca3a7dc0bbb186d063400/matplotlib/matplotlib/issues/19234 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c598c5e9dfded8bbce88b37ece859932cdc1b7dec84ca3a7dc0bbb186d063400/matplotlib/matplotlib/issues/19234 |
| og:image:alt | Bug report Tick labels on vertical axes are displaced downwards when text.usetex is set to True. Code for reproduction import matplotlib.pyplot as plt plt.rcParams['text.usetex'] = True plt.scatter... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | darthoctopus |
| 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