colour.plotting.common.filter_RGB_colourspaces#
- colour.plotting.common.filter_RGB_colourspaces(filterers: RGB_Colourspace | LiteralRGBColourspace | str | Sequence[RGB_Colourspace | LiteralRGBColourspace | str], allow_non_siblings: bool = True) Dict[str, RGB_Colourspace][source]#
Filter the RGB colourspaces matching the specified filterers.
- Parameters:
filterers (RGB_Colourspace | LiteralRGBColourspace | str | Sequence[RGB_Colourspace | LiteralRGBColourspace | str]) – Filterer,
colour.RGB_Colourspaceclass instance (which is passed through directly if its type is one of the mapping element types), or list of filterers. Thefiltererselements 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: