(self)
| 851 | return rgba, mask_bad |
| 852 | |
| 853 | def __copy__(self): |
| 854 | cls = self.__class__ |
| 855 | cmapobject = cls.__new__(cls) |
| 856 | cmapobject.__dict__.update(self.__dict__) |
| 857 | if self._isinit: |
| 858 | cmapobject._lut = np.copy(self._lut) |
| 859 | return cmapobject |
| 860 | |
| 861 | def __eq__(self, other): |
| 862 | if (not isinstance(other, Colormap) or |