colour.plotting.common.filter_RGB_colourspaces#
- colour.plotting.common.filter_RGB_colourspaces(filterers: RGB_Colourspace | str | Sequence[RGB_Colourspace | str], allow_non_siblings: bool = True) Dict[str, RGB_Colourspace][source]#
Return the RGB colourspaces matching given filterers.
- Parameters:
filterers (RGB_Colourspace | str | Sequence[RGB_Colourspace | str]) – Filterer or
colour.RGB_Colourspaceclass instance (which is passed through directly if its type is one of the mapping element types) or list of filterers.filtererselements can also be of any form supported by thecolour.plotting.common.filter_passthrough()definition.allow_non_siblings (bool) – Whether to allow non-siblings to be also passed through.
- Returns:
Filtered RGB colourspaces.
- Return type: