10000 Shading tests failing on master · Issue #3639 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Shading tests failing on master #3639
Closed
@tacaswell

Description

@tacaswell

======================================================================
FAIL: Array comparison test for the default "hsv" blend mode. Ensure the
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  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 304, in test_light_source_shading_default
    assert_array_almost_equal(rgb, expect, decimal=2)
  File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/numpy/testing/utils.py", line 842, in assert_array_almost_equal
    precision=decimal)
  File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/numpy/testing/utils.py", line 665, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 2 decimals

(mismatch 16.40625%)
 x: array([[[  8.72e-01,   8.72e-01,   8.72e-01,   1.00e+00],
        [  8.31e-01,   7.63e-01,   7.20e-01,   1.00e+00],
        [  8.75e-01,   7.90e-01,   7.38e-01,   1.00e+00],...
 y: array([[[ 0.87,  0.87,  0.87,  1.  ],
        [ 0.85,  0.79,  0.75,  1.  ],
        [ 0.9 ,  0.83,  0.78,  1.  ],...

======================================================================
FAIL: Array comparison test for a surface with a masked portion. Ensures that
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  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 355, in test_light_source_masked_shading
    assert_array_almost_equal(rgb, expect, decimal=2)
  File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/numpy/testing/utils.py", line 842, in assert_array_almost_equal
    precision=decimal)
  File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/numpy/testing/utils.py", line 665, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 2 decimals

(mismatch 29.296875%)
 x: array([[[  0.00e+00,   0.00e+00,   0.00e+00,   1.00e+00],
        [  9.50e-01,   9.27e-01,   9.13e-01,   1.00e+00],
        [  5.33e-01,   3.37e-01,   2.15e-01,   1.00e+00],...
 y: array([[[ 1.  ,  1.  ,  1.  ,  1.  ],
        [ 0.95,  0.93,  0.91,  1.  ],
        [ 0.96,  0.93,  0.91,  1.  ],...

----------------------------------------------------------------------

I get the same failures locally.

cc @jenshnielsen @joferkington

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0