Title: imshow does not immediately update shared axes · Issue #6922 · matplotlib/matplotlib · GitHub
Open Graph Title: imshow does not immediately update shared axes · Issue #6922 · matplotlib/matplotlib
X Title: imshow does not immediately update shared axes · Issue #6922 · matplotlib/matplotlib
Description: On master: import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax1 = fig.add_axes([0.1, 0.1, 0.2, 0.2]) ax2 = fig.add_axes([0.35, 0.35, 0.6, 0.6], sharex=ax1, sharey=ax1) ax3 = fig.add_axes([0.1, 0.35, 0.2, 0.6], sharex...
Open Graph Description: On master: import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax1 = fig.add_axes([0.1, 0.1, 0.2, 0.2]) ax2 = fig.add_axes([0.35, 0.35, 0.6, 0.6], sharex=ax1, sharey=ax1) ax3 = fi...
X Description: On master: import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax1 = fig.add_axes([0.1, 0.1, 0.2, 0.2]) ax2 = fig.add_axes([0.35, 0.35, 0.6, 0.6], sharex=ax1, sharey=ax1) ax3 = fi...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/6922
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"imshow does not immediately update shared axes","articleBody":"On master:\n\n``` python\nimport matplotlib.pyplot as plt\nimport numpy as np\n\nfig = plt.figure()\nax1 = fig.add_axes([0.1, 0.1, 0.2, 0.2])\nax2 = fig.add_axes([0.35, 0.35, 0.6, 0.6], sharex=ax1, sharey=ax1)\nax3 = fig.add_axes([0.1, 0.35, 0.2, 0.6], sharex=ax1, sharey=ax1)\nax1.plot([1, 10])\nax2.plot([2, 20])\n# ax3.plot([3, 30])\nax3.imshow(np.random.randn(10, 10))\n\nplt.show()\n```\n\nThe two axes with the lines do not react to the changed xlim and ylim from the `imshow` call until one forces a redraw, such as by resizing the window or using a zoom tool.\nThis problem turned up in #6759.\n","author":{"url":"https://github.com/efiring","@type":"Person","name":"efiring"},"datePublished":"2016-08-08T06:23:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/6922/matplotlib/issues/6922"}
| 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:e3c228a0-ccbe-33c9-d297-50c5363409b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A72E:2CEF5B:21B9A3A:2DFB184:6A541D0B |
| html-safe-nonce | 6301a8cc0142825cdce6a40856a56fcb1b6d5ea15e75a29f42f616f406a3dd9f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzJFOjJDRUY1QjoyMUI5QTNBOjJERkIxODQ6NkE1NDFEMEIiLCJ2aXNpdG9yX2lkIjoiMTg2NDYzMzAzMzcwMzAzODIxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 308f2d128f00fed53958ea663f208be932c9718891f69c6507e4d665678bc7a9 |
| hovercard-subject-tag | issue:169851308 |
| 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/6922/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b41dec635e5fe7f217a9cbfa643589896f9fdad23a3c539576e9c491f8cdd38b/matplotlib/matplotlib/issues/6922 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b41dec635e5fe7f217a9cbfa643589896f9fdad23a3c539576e9c491f8cdd38b/matplotlib/matplotlib/issues/6922 |
| og:image:alt | On master: import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax1 = fig.add_axes([0.1, 0.1, 0.2, 0.2]) ax2 = fig.add_axes([0.35, 0.35, 0.6, 0.6], sharex=ax1, sharey=ax1) ax3 = fi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | efiring |
| 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