matplotlib/matplotlib — pull request #850 by ianthomas23 (2012-04-22 21:17:10+00:00)
Title: Added tripcolor triangle-centred colour values.

Implementation of issue #811.

`triplot` determines whether color values are specified at triangulation points or triangles based on the length of the color values array, as this is the most intuitive way to do it. The only complication is if there are the same number of points as triangles; in this case you may need to use the `colorpoints` kwarg as well. This is a little clumsy, but seems better than forcing the user to always use a kwarg to get the new behaviour.

Existing code is unaffected by the change.