Hi,

I'm trying to grid irregularly spaced data, such that the convex hull

of the data is not rectangular. Specifically, all my data lies in an

equilateral triangle inside the unit circle. I found:

http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data

and tried the suggested technique. For my grid, I made a square of

the min and max of my data. However, it had problems:

...

File "/home/guest/.local/lib/python2.6/site-packages/matplotlib/delaunay/triangulate.py",

line 125, in _compute_convex_hull

hull.append(edges.pop(hull[-1]))

KeyError: 0

Should I expect matplotlib.mlab.griddata to work with a dataset like

this? I know that I can use hexbin, but it'd be really nice to see

contours explicitly.