Title: incomplete data in mpl_toolkits.mplot3d.art3d.Path3DCollection · Issue #7243 · matplotlib/matplotlib · GitHub
Open Graph Title: incomplete data in mpl_toolkits.mplot3d.art3d.Path3DCollection · Issue #7243 · matplotlib/matplotlib
X Title: incomplete data in mpl_toolkits.mplot3d.art3d.Path3DCollection · Issue #7243 · matplotlib/matplotlib
Description: After creating a mpl_toolkits.mplot3d.art3d.Path3DCollection, e.g., from matplotlib import pyplot as plt from mpl_toolkits.mplot3d.art3d import Path3DCollection import numpy as np pos = np.random.rand(3, 6) print(pos.T) fig = plt.figure(...
Open Graph Description: After creating a mpl_toolkits.mplot3d.art3d.Path3DCollection, e.g., from matplotlib import pyplot as plt from mpl_toolkits.mplot3d.art3d import Path3DCollection import numpy as np pos = np.random.r...
X Description: After creating a mpl_toolkits.mplot3d.art3d.Path3DCollection, e.g., from matplotlib import pyplot as plt from mpl_toolkits.mplot3d.art3d import Path3DCollection import numpy as np pos = np.random.r...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/7243
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"incomplete data in mpl_toolkits.mplot3d.art3d.Path3DCollection","articleBody":"After creating a `mpl_toolkits.mplot3d.art3d.Path3DCollection`, e.g.,\r\n\r\n```python\r\nfrom matplotlib import pyplot as plt\r\nfrom mpl_toolkits.mplot3d.art3d import Path3DCollection\r\nimport numpy as np\r\n\r\npos = np.random.rand(3, 6)\r\nprint(pos.T)\r\nfig = plt.figure()\r\nax = fig.add_subplot(projection='3d')\r\nax.scatter(pos[0], pos[1], pos[2], c=np.arange(pos.shape[1]))\r\n```\r\n\r\nI'd like to retrieve `pos` from the figure. As in 2D, I expected `get_offsets` to retrieve the data, but \r\n\r\n```python\r\nfor c in ax.get_children():\r\n if isinstance(c, Path3DCollection):\r\n print(c.get_offsets())\r\n```\r\n\r\nonly returns the first two colums of `pos`.\r\n","author":{"url":"https://github.com/nschloe","@type":"Person","name":"nschloe"},"datePublished":"2016-10-09T22:37:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/7243/matplotlib/issues/7243"}
| 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:cd592a56-ae87-a5f6-badc-c587fd9fdd9c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAB2:350AA1:11C06B8:17C22F2:6A5EAB69 |
| html-safe-nonce | 7bf5223a139460b1842d5ea9fdafe9390345066681796e3ba61a26b094f963fa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUIyOjM1MEFBMToxMUMwNkI4OjE3QzIyRjI6NkE1RUFCNjkiLCJ2aXNpdG9yX2lkIjoiMzY4MzU3NDE3NjMwMzQ1OTE3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c64c3755e8ed7ae57653be1313e282deecfa86ddf57c2d4044761aa3d00985bf |
| hovercard-subject-tag | issue:181916624 |
| 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/7243/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f7da75c1c9c254a7e1ebae4c56afa339ee442b35b6541d7a6859fd0951ced904/matplotlib/matplotlib/issues/7243 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f7da75c1c9c254a7e1ebae4c56afa339ee442b35b6541d7a6859fd0951ced904/matplotlib/matplotlib/issues/7243 |
| og:image:alt | After creating a mpl_toolkits.mplot3d.art3d.Path3DCollection, e.g., from matplotlib import pyplot as plt from mpl_toolkits.mplot3d.art3d import Path3DCollection import numpy as np pos = np.random.r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nschloe |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c7e31acb6a895494e518b880f5ccf39604f7fa9a8f2f3c64145efc3b776256d |
| 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 | 2d2ac9bdd71d5f53f2b731c9330677e38624e301 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width