whitespace adjustments
This commit is contained in:
parent
f9aea736cb
commit
554631d554
|
@ -487,8 +487,7 @@ class Colormap:
|
||||||
return interpolate_Msh(self.left.express_as('MSH').color,
|
return interpolate_Msh(self.left.express_as('MSH').color,
|
||||||
self.right.express_as('MSH').color,fraction)
|
self.right.express_as('MSH').color,fraction)
|
||||||
elif self.interpolate == 'linear':
|
elif self.interpolate == 'linear':
|
||||||
return interpolate_linear(self.left,
|
return interpolate_linear(self.left,self.right,fraction)
|
||||||
self.right,fraction)
|
|
||||||
else:
|
else:
|
||||||
raise NameError('unknown color interpolation method')
|
raise NameError('unknown color interpolation method')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue