-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Milestone
Description
======================================================================
ERROR: test suite for <class 'matplotlib.tests.test_triangulation.test_tri_smooth_contouring'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python27-x64\lib\site-packages\nose\suite.py", line 208, in run
self.setUp()
File "X:\Python27-x64\lib\site-packages\nose\suite.py", line 291, in setUp
self.setupContext(ancestor)
File "X:\Python27-x64\lib\site-packages\nose\suite.py", line 314, in setupContext
try_run(context, names)
File "X:\Python27-x64\lib\site-packages\nose\util.py", line 470, in try_run
return func()
File "X:\Python27-x64\lib\site-packages\matplotlib\testing\decorators.py", line 102, in setup_class
cls._func()
File "X:\Python27-x64\lib\site-packages\matplotlib\tests\test_triangulation.py", line 715, in test_tri_smooth_contouring
tri_refi, z_test_refi = refiner.refine_field(z0, subdiv=4)
File "X:\Python27-x64\lib\site-packages\matplotlib\tri\trirefine.py", line 179, in refine_field
subdiv=subdiv, return_tri_index=True)
File "X:\Python27-x64\lib\site-packages\matplotlib\tri\trirefine.py", line 125, in refine_triangulation
] = np.repeat(ancestors[ancestor_mask], 3)
ValueError: shape mismatch: value array of shape (13824,) could not be broadcast to indexing result of shape (4608,3)
======================================================================
ERROR: test suite for <class 'matplotlib.tests.test_triangulation.test_tri_smooth_gradient'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python27-x64\lib\site-packages\nose\suite.py", line 208, in run
self.setUp()
File "X:\Python27-x64\lib\site-packages\nose\suite.py", line 291, in setUp
self.setupContext(ancestor)
File "X:\Python27-x64\lib\site-packages\nose\suite.py", line 314, in setupContext
try_run(context, names)
File "X:\Python27-x64\lib\site-packages\nose\util.py", line 470, in try_run
return func()
File "X:\Python27-x64\lib\site-packages\matplotlib\testing\decorators.py", line 102, in setup_class
cls._func()
File "X:\Python27-x64\lib\site-packages\matplotlib\tests\test_triangulation.py", line 752, in test_tri_smooth_gradient
tri_refi, z_test_refi = refiner.refine_field(V, subdiv=3)
File "X:\Python27-x64\lib\site-packages\matplotlib\tri\trirefine.py", line 179, in refine_field
subdiv=subdiv, return_tri_index=True)
File "X:\Python27-x64\lib\site-packages\matplotlib\tri\trirefine.py", line 125, in refine_triangulation
] = np.repeat(ancestors[ancestor_mask], 3)
ValueError: shape mismatch: value array of shape (5376,) could not be broadcast to indexing result of shape (1792,3)
======================================================================
ERROR: matplotlib.tests.test_triangulation.test_triinterp
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python27-x64\lib\site-packages\nose\case.py", line 197, in runTest
self.test(*self.arg)
File "X:\Python27-x64\lib\site-packages\matplotlib\tests\test_triangulation.py", line 306, in test_triinterp
(interp_dzsdx, interp_dzsdy) = cubic_user.gradient(x, y)
File "X:\Python27-x64\lib\site-packages\matplotlib\tri\triinterpolate.py", line 435, in gradient
return_keys=('dzdx', 'dzdy'))
File "X:\Python27-x64\lib\site-packages\matplotlib\tri\triinterpolate.py", line 208, in _interpolate_multikeys
return_key, valid_tri_index, valid_x, valid_y) * scale
TypeError: NumPy boolean array indexing assignment requires a 0 or 1-dimensional input, input has 2 dimensions
======================================================================
ERROR: matplotlib.tests.test_triangulation.test_triinterpcubic_C1_continuity
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python27-x64\lib\site-packages\nose\case.py", line 197, in runTest
self.test(*self.arg)
File "X:\Python27-x64\lib\site-packages\matplotlib\tests\test_triangulation.py", line 405, in test_triinterpcubic_C1_continuity
check_continuity(interp, (ax, ay), values[:, 0])
File "X:\Python27-x64\lib\site-packages\matplotlib\tests\test_triangulation.py", line 366, in check_continuity
(dzx, dzy) = interpolator.gradient([loc_x], [loc_y])
File "X:\Python27-x64\lib\site-packages\matplotlib\tri\triinterpolate.py", line 435, in gradient
return_keys=('dzdx', 'dzdy'))
File "X:\Python27-x64\lib\site-packages\matplotlib\tri\triinterpolate.py", line 208, in _interpolate_multikeys
return_key, valid_tri_index, valid_x, valid_y) * scale
TypeError: NumPy boolean array indexing assignment requires a 0 or 1-dimensional input, input has 2 dimensions
======================================================================
ERROR: matplotlib.tests.test_triangulation.test_trirefine
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python27-x64\lib\site-packages\nose\case.py", line 197, in runTest
self.test(*self.arg)
File "X:\Python27-x64\lib\site-packages\matplotlib\tests\test_triangulation.py", line 880, in test_trirefine
refined_triang, refined_z = refiner.refine_field(z, subdiv=1)
File "X:\Python27-x64\lib\site-packages\matplotlib\tri\trirefine.py", line 179, in refine_field
subdiv=subdiv, return_tri_index=True)
File "X:\Python27-x64\lib\site-packages\matplotlib\tri\trirefine.py", line 116, in refine_triangulation
found_index[refi_triangles] = np.repeat(ancestors, 3)
ValueError: shape mismatch: value array of shape (24,) could not be broadcast to indexing result of shape (8,3)
Issues of the sort
ValueError: shape mismatch: value array of shape (5376,) could not be broadcast to indexing result of shape (1792,3)
have been fixed to raise a FutureWarning
instead, but this is a heads up.
Metadata
Metadata
Assignees
Labels
No labels