Title: shading tests + numpy 1.6 · Issue #3660 · matplotlib/matplotlib · GitHub
Open Graph Title: shading tests + numpy 1.6 · Issue #3660 · matplotlib/matplotlib
X Title: shading tests + numpy 1.6 · Issue #3660 · matplotlib/matplotlib
Description: https://travis-ci.org/matplotlib/matplotlib/builds/38268538 After merging #3547 there are failures on 2.6 np1.6 ====================================================================== ERROR: test suite for Open Graph Description: https://travis-ci.org/matplotlib/matplotlib/builds/38268538 After merging #3547 there are failures on 2.6 np1.6 ====================================================================== ERROR: test su...
X Description: https://travis-ci.org/matplotlib/matplotlib/builds/38268538 After merging #3547 there are failures on 2.6 np1.6 ====================================================================== ERROR: test su...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3660
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"shading tests + numpy 1.6","articleBody":"https://travis-ci.org/matplotlib/matplotlib/builds/38268538\n\nAfter merging #3547 there are failures on 2.6 np1.6\n\n```\n======================================================================\nERROR: test suite for \u003cclass 'matplotlib.tests.test_colors.test_light_source_topo_surface'>\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/nose/plugins/multiprocess.py\", line 788, in run\n self.setUp()\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/nose/suite.py\", line 292, in setUp\n self.setupContext(ancestor)\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/nose/plugins/multiprocess.py\", line 770, in setupContext\n super(NoSharedFixtureContextSuite, self).setupContext(context)\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/nose/suite.py\", line 315, in setupContext\n try_run(context, names)\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/nose/util.py\", line 470, in try_run\n return func()\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/matplotlib-1.5.x-py2.6-linux-x86_64.egg/matplotlib/testing/decorators.py\", line 134, in setup_class\n cls._func()\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/matplotlib-1.5.x-py2.6-linux-x86_64.egg/matplotlib/tests/test_colors.py\", line 240, in test_light_source_topo_surface\n with np.load(fname) as dem:\nAttributeError: 'NpzFile' object has no attribute '__exit__'\n\n======================================================================\nERROR: Compare the current hillshading method against one that should be\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/nose/case.py\", line 197, in runTest\n self.test(*self.arg)\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/matplotlib-1.5.x-py2.6-linux-x86_64.egg/matplotlib/tests/test_colors.py\", line 387, in test_light_source_hillshading\n h2 = alternative_hillshade(az, elev, z)\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/matplotlib-1.5.x-py2.6-linux-x86_64.egg/matplotlib/tests/test_colors.py\", line 374, in alternative_hillshade\n normals /= np.linalg.norm(normals, axis=2)[..., None]\nTypeError: norm() got an unexpected keyword argument 'axis'\n\n======================================================================\nFAIL: Array comparison test for a surface with a masked portion. Ensures that\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/nose/case.py\", line 197, in runTest\n self.test(*self.arg)\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/matplotlib-1.5.x-py2.6-linux-x86_64.egg/matplotlib/testing/decorators.py\", line 51, in failer\n result = f(*args, **kwargs)\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/matplotlib-1.5.x-py2.6-linux-x86_64.egg/matplotlib/tests/test_colors.py\", line 359, in test_light_source_masked_shading\n assert_array_almost_equal(rgb, expect, decimal=2)\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/numpy/testing/utils.py\", line 800, in assert_array_almost_equal\n header=('Arrays are not almost equal to %d decimals' % decimal))\n File \"/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/numpy/testing/utils.py\", line 636, in assert_array_compare\n raise AssertionError(msg)\nAssertionError: \nArrays are not almost equal to 2 decimals\n\n(mismatch 37.890625%)\n x: array([[[ 8.97730885e-01, 8.97730885e-01, 8.97730885e-01,\n 1.00000000e+00],\n [ 8.76251006e-01, 8.22968131e-01, 7.89679082e-01,...\n y: array([[[ 1. , 1. , 1. , 1. ],\n [ 0.95, 0.93, 0.91, 1. ],\n [ 0.96, 0.93, 0.91, 1. ],...\n\n----------------------------------------------------------------------\nRan 4705 tests in 172.938s\n\nFAILED (KNOWNFAIL=18, SKIP=7, errors=2, failures=1)\n```\n\nI am a bit confused from looking at these (particularly the first two) why these things broke/ever passed.\n\ncc @jenshnielsen @jkseppan \n","author":{"url":"https://github.com/tacaswell","@type":"Person","name":"tacaswell"},"datePublished":"2014-10-17T15:45:03Z","url":"https://github.com/matplotlib/matplotlib/issues/3660"}
react-profiling 0 react-import-map react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 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:1d7ccd9e-204a-1650-75de-77aa29fbe89c current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 8FDC:251C94:74FC6:A08FA:6B067182 html-safe-nonce 26bacffc6953b7920d4e5731a76fc4ed7c7ccc40424909834aea6d329c333a24 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkRDOjI1MUM5NDo3NEZDNjpBMDhGQTo2QjA2NzE4MiIsInZpc2l0b3JfaWQiOiI1MjY2NDEyNTc0Mjg2OTY3MTcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= visitor-hmac a8c9ca83eab2be56a207e002f147ec1c076120896c388cf004f80e7c0690cec6 hovercard-subject-tag issue:46113673 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/3660/issue_layout twitter:image https://opengraph.githubassets.com/765f65792f897b2373fdc3d93beee48d756e35dcd36e130134912849858ac001/matplotlib/matplotlib/issues/3660 twitter:card summary_large_image og:image https://opengraph.githubassets.com/765f65792f897b2373fdc3d93beee48d756e35dcd36e130134912849858ac001/matplotlib/matplotlib/issues/3660 og:image:alt https://travis-ci.org/matplotlib/matplotlib/builds/38268538 After merging #3547 there are failures on 2.6 np1.6 ====================================================================== ERROR: test su... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username tacaswell hostname github.com expected-hostname github.com None 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a 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 6d3909414814ff86ce7da4c51a0f4918a13fb41b ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
Response headers:
Server github.com Content-Type text/html; charset=utf-8 Cache-Control max-age=0, private, must-revalidate
URLs of crawlers that visited me.