Skip to content

meshfill broken #135

@doutriaux1

Description

@doutriaux1

@sankhesh your commit 5f393f1 introduced the bug.

Please to reproduce run test:

(2.8) doutriaux1@maryam:[vcs]:[9635]> python /git/uvcdat/testing/vcs/test_vcs_plot_unstructured_via_boxfill.py fdfdf
Traceback (most recent call last):
  File "/git/uvcdat/testing/vcs/test_vcs_plot_unstructured_via_boxfill.py", line 6, in <module>
    x.plot(s,bg=1)
  File "/Users/doutriaux1/anaconda2/envs/2.8/lib/python2.7/site-packages/vcs/Canvas.py", line 2564, in plot
    a = self.__plot(arglist, keyargs)
  File "/Users/doutriaux1/anaconda2/envs/2.8/lib/python2.7/site-packages/vcs/Canvas.py", line 3893, in __plot
    returned_kargs = self.backend.plot(*arglist, **keyargs)
  File "/Users/doutriaux1/anaconda2/envs/2.8/lib/python2.7/site-packages/vcs/VTKPlots.py", line 607, in plot
    vtk_backend_grid, vtk_backend_geo, **kargs))
  File "/Users/doutriaux1/anaconda2/envs/2.8/lib/python2.7/site-packages/vcs/vcsvtk/pipeline2d.py", line 317, in plot
    self._plotInternal()
  File "/Users/doutriaux1/anaconda2/envs/2.8/lib/python2.7/site-packages/vcs/vcsvtk/meshfillpipeline.py", line 186, in _plotInternal
    c = self.getColorIndexOrRGBA(_colorMap, tmpColors[ct][0])
IndexError: list index out of range

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions