Title: [Bug]: Animation changing the azimuth only of scatter plot requires mouse click to draw · Issue #22598 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Animation changing the azimuth only of scatter plot requires mouse click to draw · Issue #22598 · matplotlib/matplotlib
X Title: [Bug]: Animation changing the azimuth only of scatter plot requires mouse click to draw · Issue #22598 · matplotlib/matplotlib
Description: Bug summary When animating a scatter changing only the azimuth the plot will not be updated unless the mouse is clicked on the plot. Might be platform specific on a apple silicon version 3.5.1 Code for reproduction import numpy as np imp...
Open Graph Description: Bug summary When animating a scatter changing only the azimuth the plot will not be updated unless the mouse is clicked on the plot. Might be platform specific on a apple silicon version 3.5.1 Code...
X Description: Bug summary When animating a scatter changing only the azimuth the plot will not be updated unless the mouse is clicked on the plot. Might be platform specific on a apple silicon version 3.5.1 Code...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/22598
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Animation changing the azimuth only of scatter plot requires mouse click to draw","articleBody":"### Bug summary\n\nWhen animating a scatter changing only the azimuth the plot will not be updated unless the mouse is clicked on the plot. \r\nMight be platform specific on a apple silicon version 3.5.1\n\n### Code for reproduction\n\n```python\nimport numpy as np\r\nimport matplotlib.pyplot as plt\r\nimport matplotlib.animation as animation\r\n\r\ndata = [np.random.random_sample((300, 3)) for _ in range(10)]\r\nx, y, z = data[0][:, 0], data[0][:, 1], data[0][:, 2]\r\n\r\n\r\ndef update_pov(num):\r\n ax.view_init(elev=10., azim=num % 360)\r\n \r\n return graph,\r\n\r\n\r\nfig = plt.figure(figsize=(5, 5))\r\nax = fig.add_subplot(111, projection=\"3d\")\r\ngraph = ax.scatter(x, y, z, color='orange')\r\n\r\nax.set_xlim3d(0, 1)\r\nax.set_ylim3d(0, 1)\r\nax.set_zlim3d(0, 1)\r\n\r\nani = animation.FuncAnimation(fig, update_pov, frames=200, interval=50, blit=False)\r\nplt.show()\n```\n\n\n### Actual outcome\n\nhttps://youtu.be/3l7gMHrwkqQ\r\nin the video it is only animating when I click on the mousepad\n\n### Expected outcome\n\nanimations should flow independently of mouse clicks\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nMacOS on Apple silicon\n\n### Matplotlib Version\n\n3.5.1\n\n### Matplotlib Backend\n\nMacOSX\n\n### Python version\n\nPython 3.9.2\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\npip","author":{"url":"https://github.com/dani0805","@type":"Person","name":"dani0805"},"datePublished":"2022-03-04T07:44:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/22598/matplotlib/issues/22598"}
| 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:5014b545-4919-9d5e-1582-3f7062960556 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80CA:99750:8F305:C0675:6A515B7C |
| html-safe-nonce | 6e1cc79d962b206a3c442863350c4d9476d122e7335777c528642db163b370a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MENBOjk5NzUwOjhGMzA1OkMwNjc1OjZBNTE1QjdDIiwidmlzaXRvcl9pZCI6Ijg2Njc4NjY2MDc4NjU5MTIxODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 90726646e21cbaf9b8251f1ecd94cb22313fb53e84be8c09a296aab688bf8e19 |
| hovercard-subject-tag | issue:1159344416 |
| 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/22598/issue_layout |
| twitter:image | https://opengraph.githubassets.com/189a3094dcff04776d737f15824d31abbb5dfc1521f7f79fd1fe8573f600c8d9/matplotlib/matplotlib/issues/22598 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/189a3094dcff04776d737f15824d31abbb5dfc1521f7f79fd1fe8573f600c8d9/matplotlib/matplotlib/issues/22598 |
| og:image:alt | Bug summary When animating a scatter changing only the azimuth the plot will not be updated unless the mouse is clicked on the plot. Might be platform specific on a apple silicon version 3.5.1 Code... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dani0805 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f17634ed2af1d116850bcea6c63a70a4d72970f33ade1dd3eef3764b7e16994 |
| 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 | 2d32229a0a79708ee9a4f132f630b36d58b4495a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width