Skip to content

Instantly share code, notes, and snippets.

@mrklein
Created February 24, 2014 15:24
Show Gist options
  • Save mrklein/9190320 to your computer and use it in GitHub Desktop.
Save mrklein/9190320 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "./plot.py", line 116, in <module>
plot_planes(s)
File "./plot.py", line 75, in plot_planes
P.tricontour(x, y, fl, [0.5], colors='black')
File "/usr/lib/pymodules/python2.7/matplotlib/pyplot.py", line 3090, in tricontour
ret = ax.tricontour(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/axes.py", line 8922, in tricontour
return mtri.tricontour(self, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/tri/tricontour.py", line 280, in tricontour
return TriContourSet(ax, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/tri/tricontour.py", line 36, in __init__
ContourSet.__init__(self, ax, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/contour.py", line 780, in __init__
self._process_args(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/tri/tricontour.py", line 47, in _process_args
tri, z = self._contour_args(args, kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/tri/tricontour.py", line 82, in _contour_args
Triangulation.get_from_args_and_kwargs(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/matplotlib/tri/triangulation.py", line 172, in get_from_args_and_kwargs
triangulation = Triangulation(x, y, triangles, mask)
File "/usr/lib/pymodules/python2.7/matplotlib/tri/triangulation.py", line 72, in __init__
dt = delaunay.Triangulation(self.x, self.y)
File "/usr/lib/pymodules/python2.7/matplotlib/delaunay/triangulate.py", line 123, in __init__
self.hull = self._compute_convex_hull()
File "/usr/lib/pymodules/python2.7/matplotlib/delaunay/triangulate.py", line 158, in _compute_convex_hull
hull.append(edges.pop(hull[-1]))
KeyError: 5685
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment