Title: axes3d.py error when using lines3d and surface3d demos · Issue #3898 · matplotlib/matplotlib · GitHub
Open Graph Title: axes3d.py error when using lines3d and surface3d demos · Issue #3898 · matplotlib/matplotlib
X Title: axes3d.py error when using lines3d and surface3d demos · Issue #3898 · matplotlib/matplotlib
Description: Hi, I recently grabbed the 1.5.x version of matplotlib from github and get some errors when using the 3d plotting demos on the matplotlib website. See below for an output. I am running python 2.7.8_2 from homebrew. I get the same error f...
Open Graph Description: Hi, I recently grabbed the 1.5.x version of matplotlib from github and get some errors when using the 3d plotting demos on the matplotlib website. See below for an output. I am running python 2.7.8...
X Description: Hi, I recently grabbed the 1.5.x version of matplotlib from github and get some errors when using the 3d plotting demos on the matplotlib website. See below for an output. I am running python 2.7.8...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3898
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"axes3d.py error when using lines3d and surface3d demos ","articleBody":"Hi, I recently grabbed the 1.5.x version of matplotlib from github and get some errors when using the 3d plotting demos on the matplotlib website. See below for an output. I am running python 2.7.8_2 from homebrew. I get the same error for both demo scripts. Has something changed in 1.5.x such that the demos are calling things differently?\n\nThe plotting window appears but shows nothing inside, accept for a line along the x axis at z=0. See image attached. \n\nCheers\nJames\n\nMac OS X 10.10.1 Yosemite\n\n``` python\nJames@Jamess-MBP\u003e python -i lines3d_demo.py\nTraceback (most recent call last):\n File \"/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib-1.5.x-py2.7-macosx-10.10-x86_64.egg/matplotlib/artist.py\", line 59, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib-1.5.x-py2.7-macosx-10.10-x86_64.egg/matplotlib/figure.py\", line 1090, in draw\n func(*args)\n File \"/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/mplot3d/axes3d.py\", line 273, in draw\n ax.draw(renderer)\n File \"/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/mplot3d/axis3d.py\", line 264, in draw\n self.axes.transAxes.transform(peparray[0:2, 0]))\nValueError: Expected 2-dimensional array, got 1\n```\n\nafter a few seconds with the figure open this appears:\n\n``` python\n/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/mplot3d/axes3d.py:1094: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.\n if self.button_pressed in self._rotate_btn:\n```\n\n\n\n[TAC edited formatting]\n","author":{"url":"https://github.com/jmccormac01","@type":"Person","name":"jmccormac01"},"datePublished":"2014-12-07T10:57:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/3898/matplotlib/issues/3898"}
| 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:b51a5896-425b-16ff-bbfa-e619dd2bff9e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC92:2A0782:178A16B:1FEC154:6A535DF3 |
| html-safe-nonce | eed32d56b26d3061ea74ed9699e668ede16c75c22c8daeb532ba767581911301 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzkyOjJBMDc4MjoxNzhBMTZCOjFGRUMxNTQ6NkE1MzVERjMiLCJ2aXNpdG9yX2lkIjoiNTU0MjYyNDY0ODM4NTIyNDE3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a65804d0230e6698f291836eb3d3e6995367ac84fb7d4788186cfba2c28b676f |
| hovercard-subject-tag | issue:51214459 |
| 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/3898/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ebb57352c626b6761c7e57a71c570fa72ffac169f649cee872e9a2852b76d9e/matplotlib/matplotlib/issues/3898 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ebb57352c626b6761c7e57a71c570fa72ffac169f649cee872e9a2852b76d9e/matplotlib/matplotlib/issues/3898 |
| og:image:alt | Hi, I recently grabbed the 1.5.x version of matplotlib from github and get some errors when using the 3d plotting demos on the matplotlib website. See below for an output. I am running python 2.7.8... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jmccormac01 |
| 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