Title: Incorrect text clipping in presence of multiple subplots · Issue #6794 · matplotlib/matplotlib · GitHub
Open Graph Title: Incorrect text clipping in presence of multiple subplots · Issue #6794 · matplotlib/matplotlib
X Title: Incorrect text clipping in presence of multiple subplots · Issue #6794 · matplotlib/matplotlib
Description: This is a regression in 2.0b3 compared to 1.5.2 (haven't bisected more) from matplotlib import pyplot as plt import numpy as np np.random.seed(1) fig, (ax1, ax2) = plt.subplots(2) for x, y in np.random.rand(10, 2): ax1.text(x, y, "foo", ...
Open Graph Description: This is a regression in 2.0b3 compared to 1.5.2 (haven't bisected more) from matplotlib import pyplot as plt import numpy as np np.random.seed(1) fig, (ax1, ax2) = plt.subplots(2) for x, y in np.ra...
X Description: This is a regression in 2.0b3 compared to 1.5.2 (haven't bisected more) from matplotlib import pyplot as plt import numpy as np np.random.seed(1) fig, (ax1, ax2) = plt.subplots(2) for x, y in n...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/6794
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect text clipping in presence of multiple subplots","articleBody":"This is a regression in 2.0b3 compared to 1.5.2 (haven't bisected more)\n\n```\nfrom matplotlib import pyplot as plt\nimport numpy as np\n\nnp.random.seed(1)\nfig, (ax1, ax2) = plt.subplots(2)\nfor x, y in np.random.rand(10, 2):\n ax1.text(x, y, \"foo\", clip_on=True)\n ax2.text(x, y, \"foo\")\nplt.show()\n```\n\n1.5.2 displays everything fine\n\n2.0b3 clips away all text objects in the top axes\n\n(so I'm marking this as 2.0 but feel free to change it)\n\nThe texts actually appear to be clipped to the \"wrong\" place and use the wrong zorder: you can see them appear \"behind the axes\" if you pan the axes as below:\n\n","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2016-07-18T19:54:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/6794/matplotlib/issues/6794"}
| 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:50c0ee3d-e5f8-3481-df91-0844966bc8fa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B2FA:2B78D3:28DD69E:3768345:6A53A7C1 |
| html-safe-nonce | 9c51240b4367bb9d7092c10392a317bb24d5d451c869211c0e948c4e029420d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkZBOjJCNzhEMzoyOERENjlFOjM3NjgzNDU6NkE1M0E3QzEiLCJ2aXNpdG9yX2lkIjoiMTE4MTI4MzgxMjU1NjEyMjA0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a987a73a4b41e4c5f6f7c026013044661c477d0d8cebde32d30328556cf98961 |
| hovercard-subject-tag | issue:166178734 |
| 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/6794/issue_layout |
| twitter:image | https://opengraph.githubassets.com/850a55514a7fae82d887b78bdd5d2be9fb71557b3decbaf5202e5e287f7dce9b/matplotlib/matplotlib/issues/6794 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/850a55514a7fae82d887b78bdd5d2be9fb71557b3decbaf5202e5e287f7dce9b/matplotlib/matplotlib/issues/6794 |
| og:image:alt | This is a regression in 2.0b3 compared to 1.5.2 (haven't bisected more) from matplotlib import pyplot as plt import numpy as np np.random.seed(1) fig, (ax1, ax2) = plt.subplots(2) for x, y in np.ra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| 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