Title: set_{x,y,z}bound 3d limits are not persistent upon interactive rotation · Issue #18112 · matplotlib/matplotlib · GitHub
Open Graph Title: set_{x,y,z}bound 3d limits are not persistent upon interactive rotation · Issue #18112 · matplotlib/matplotlib
X Title: set_{x,y,z}bound 3d limits are not persistent upon interactive rotation · Issue #18112 · matplotlib/matplotlib
Description: Bug report Bug summary 3D axes limits set using set_{x,y,z}bound are dropped when interactively rotating 3d axes. Code for reproduction import matplotlib.pyplot as plt ax = plt.figure().add_subplot(projection="3d") ax.plot([0, 1], [0, 1]...
Open Graph Description: Bug report Bug summary 3D axes limits set using set_{x,y,z}bound are dropped when interactively rotating 3d axes. Code for reproduction import matplotlib.pyplot as plt ax = plt.figure().add_subplot...
X Description: Bug report Bug summary 3D axes limits set using set_{x,y,z}bound are dropped when interactively rotating 3d axes. Code for reproduction import matplotlib.pyplot as plt ax = plt.figure().add_subplot...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/18112
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"set_{x,y,z}bound 3d limits are not persistent upon interactive rotation","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\n**Bug summary**\r\n\r\n3D axes limits set using set_{x,y,z}bound are dropped when interactively rotating 3d axes.\r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug.\r\nPlease make sure to minimize the number of dependencies required, and provide\r\nany necessary plotted data.\r\nAvoid using threads, as Matplotlib is (explicitly) not thread-safe.--\u003e\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\n\r\nax = plt.figure().add_subplot(projection=\"3d\")\r\nax.plot([0, 1], [0, 1], [0, 1])\r\nax.set(xbound=[-1, 1], ybound=[-1, 1], zbound=[-1, 1])\r\n# ax.set(xlim=[-1, 1], ylim=[-1, 1], zlim=[-1, 1])\r\nplt.show()\r\n```\r\nthen interactively rotate the axes with the mouse.\r\n\r\n**Actual outcome**\r\n\r\nThe axes limits immediately snap back to [0, 1] (plus margins).\r\n\r\n**Expected outcome**\r\n\r\nLimits are respected (as with set_{x,y,z}lim).\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: linux\r\n * Matplotlib version: master\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): qt5agg\r\n * Python version: 38\r\n * Jupyter version (if applicable):\r\n * Other libraries: \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/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2020-07-29T08:22:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/18112/matplotlib/issues/18112"}
| 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:1c98cc25-c4ec-8aa6-2499-d6bda26f0a2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9AC6:18F220:26DC1D:368D58:6A533511 |
| html-safe-nonce | a0b2e81ae69df4f914a9b448fcb0844dfdc171a3f4127868915ab2d1d3edaf90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUM2OjE4RjIyMDoyNkRDMUQ6MzY4RDU4OjZBNTMzNTExIiwidmlzaXRvcl9pZCI6IjIxMzQwOTA3Nzc4MTg3NzI3NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7012993009dec46fdb2a6e303bde159cadc68ece60492a8c3f2d8b0ddfde4e80 |
| hovercard-subject-tag | issue:667649392 |
| 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/18112/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c4b9cbd9c27232644343ef396fda8a75c078f166dd43b9960cb8b90a452b75f6/matplotlib/matplotlib/issues/18112 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c4b9cbd9c27232644343ef396fda8a75c078f166dd43b9960cb8b90a452b75f6/matplotlib/matplotlib/issues/18112 |
| og:image:alt | Bug report Bug summary 3D axes limits set using set_{x,y,z}bound are dropped when interactively rotating 3d axes. Code for reproduction import matplotlib.pyplot as plt ax = plt.figure().add_subplot... |
| 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