(self)
return np.array([QColor(*col) for col in self.palette]
                        + [QColor(*self.nan_color)])
An array of QColors in the palette + the color for nan values
An array of QColors in the palette + the color for nan values
An array of QColors in the palette + the color for nan values
def qcolors_w_nan(self):
        """An array of QColors in the palette + the color for nan values"""
        return np.array([QColor(*col) for col in self.palette]
                        + [QColor(*self.nan_color)])
def qcolors_w_nan ( self ) : return np . array ( [ QColor ( * col ) for col in self . palette ] + [ QColor ( * self . nan_color ) ] )