(self, x)
return self.qcolors_w_nan[binx]
Return an array of colors assigned to given values by the palette

        Args:
            x (np.array): colors to be mapped

        Returns:
            an array of shape (len(x), ) with QColors for each point
Return an array of colors assigned to given values by the palette
Return an array of colors assigned to given values by the palette
def values_to_qcolors(self, x):
        """
        Return an array of colors assigned to given values by the palette

        Args:
            x (np.array): colors to be mapped

        Returns:
            an array of shape (len(x), ) with QColors for each point
        """
        binx, _ = self._bin_indices(x)
        return self.qcolors_w_nan[binx]
def values_to_qcolors ( self , x ) : binx , _ = self . _bin_indices ( x ) return self . qcolors_w_nan [ binx ]