(self, x)
return self.values_to_colors([x])[0]
Return an RGB triplet (as np.ndarray) corresponding to value x.
        x may also be nan.
Return an RGB triplet (as np.ndarray) corresponding to value x.
        x may also be nan.
Return an RGB triplet ( as np . ndarray ) corresponding to value x . x may also be nan .
def value_to_color(self, x):
        """
        Return an RGB triplet (as np.ndarray) corresponding to value x.
        x may also be nan.
        """
        return self.values_to_colors([x])[0]
def value_to_color ( self , x ) : return self . values_to_colors ( [ x ] ) [ 0 ]