(self, adapter, monitor)
Initialise colour map.
Initialise colour map.
Initialise colour map .
def __init__(self, adapter, monitor):
        """Initialise colour map."""
        self._adapter = adapter
        self._has_composite = (
            monitor == 'composite' and adapter in COMPOSITE
        )
        self._composite = False
def __init__ ( self , adapter , monitor ) : self . _adapter = adapter self . _has_composite = ( monitor == 'composite' and adapter in COMPOSITE ) self . _composite = False