fixed two-line summary

This commit is contained in:
Philip Eisenlohr 2016-10-31 11:07:30 -04:00
parent 94fcc9ad24
commit cb26ecb8c2
1 changed files with 1 additions and 4 deletions

View File

@ -418,10 +418,7 @@ class Colormap():
return Color('MSH',Msh)
def interpolate_linear(lo, hi, frac):
"""
Linearly interpolate color at given fraction between lower and
higher color using model of lower color.
"""
"""Linear interpolation between lo and hi color at given fraction; output in model of lo color."""
interpolation = (1.0 - frac) * np.array(lo.color[:]) \
+ frac * np.array(hi.expressAs(lo.model).color[:])