Title: Test errors with numpy 1.5 - advice? · Issue #3191 · matplotlib/matplotlib · GitHub
Open Graph Title: Test errors with numpy 1.5 - advice? · Issue #3191 · matplotlib/matplotlib
X Title: Test errors with numpy 1.5 - advice? · Issue #3191 · matplotlib/matplotlib
Description: I am getting test errors with current matplotlib trunk and numpy 1.5.1. An example is here: ====================================================================== ERROR: test suite for Open Graph Description: I am getting test errors with current matplotlib trunk and numpy 1.5.1. An example is here: ====================================================================== ERROR: test suite for X Description: I am getting test errors with current matplotlib trunk and numpy 1.5.1. An example is here: ====================================================================== ERROR: test suite for <class ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3191
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Test errors with numpy 1.5 - advice?","articleBody":"I am getting test errors with current matplotlib trunk and numpy 1.5.1. An example is here:\n\n```\n======================================================================\nERROR: test suite for \u003cclass 'matplotlib.tests.test_axes.test_hist_stacked_bar'\u003e\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/plugins/multiprocess.py\", line 788, in run\n self.setUp()\n File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py\", line 291, in setUp\n self.setupContext(ancestor)\n File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/plugins/multiprocess.py\", line 770, in setupContext\n super(NoSharedFixtureContextSuite, self).setupContext(context)\n File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/suite.py\", line 314, in setupContext\n try_run(context, names)\n File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/util.py\", line 470, in try_run\n return func()\n File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/testing/decorators.py\", line 139, in setup_class\n cls._func()\n File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/tests/test_axes.py\", line 1988, in test_hist_stacked_bar\n ax.hist(d, bins=10, histtype='barstacked', align='mid', color=colors, label=labels)\n File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axes/_axes.py\", line 5479, in hist\n flat = np.ravel(x)\n File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/fromnumeric.py\", line 1097, in ravel\n return asarray(a).ravel(order)\n File \"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/numeric.py\", line 284, in asarray\n return array(a, dtype, copy=False, order=order)\nValueError: setting an array element with a sequence.\n```\n\nSee: https://s3.amazonaws.com/archive.travis-ci.org/jobs/29198712/log.txt\n\nThis boils down to the following code:\n\n```\nIn [5]: x = [[], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]]\n\nIn [6]: np.array(x)\n```\n\nThis raises an error (setting an array element with a sequence) for numpy 1.5.1 but passes for numpy 1.6.0. Should I try and work round this, or should matplotlib update compatibility to numpy 1.6.0 ?\n","author":{"url":"https://github.com/matthew-brett","@type":"Person","name":"matthew-brett"},"datePublished":"2014-07-06T00:29:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/3191/matplotlib/issues/3191"}
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:cb73655c-f98e-6a34-7f20-fca1822cf2d0 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id EAAA:3F5325:387FF93:50C1E0A:6A569B84 html-safe-nonce 8f78b28b69d624b79a260e1485749c90eef0ed3355517eba00937fb40296cc28 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUFBOjNGNTMyNTozODdGRjkzOjUwQzFFMEE6NkE1NjlCODQiLCJ2aXNpdG9yX2lkIjoiNTA2NzQ3MzU3NDk0NjgwNDUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= visitor-hmac 3426f13d0d04368b03e3416b3d0857eec7e096eb2f4822fb653c8772da2d61b2 hovercard-subject-tag issue:37208878 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/3191/issue_layout twitter:image https://opengraph.githubassets.com/2624b60b884659b4f1cce92ba1d2985ed6f39c09b7cbfafc0324720701ef8bb8/matplotlib/matplotlib/issues/3191 twitter:card summary_large_image og:image https://opengraph.githubassets.com/2624b60b884659b4f1cce92ba1d2985ed6f39c09b7cbfafc0324720701ef8bb8/matplotlib/matplotlib/issues/3191 og:image:alt I am getting test errors with current matplotlib trunk and numpy 1.5.1. An example is here: ====================================================================== ERROR: test suite for og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username matthew-brett hostname github.com expected-hostname github.com None 647a25f437e2f54eccdd162bd007c8ae70f4235c4125dba0f4518747cc8b9615 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 05adb86a60ce3d701e556eded3ab26300ec6bcc4 ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.