colour.plotting.common.filter_colour_checkers#
- colour.plotting.common.filter_colour_checkers(filterers: colour.characterisation.datasets.colour_checkers.chromaticity_coordinates.ColourChecker | str | collections.abc.Sequence[colour.characterisation.datasets.colour_checkers.chromaticity_coordinates.ColourChecker | str], allow_non_siblings: bool = True) Dict[str, colour.characterisation.datasets.colour_checkers.chromaticity_coordinates.ColourChecker] [source]#
Return the colour checkers matching given filterers.
- Parameters
filterers (colour.characterisation.datasets.colour_checkers.chromaticity_coordinates.ColourChecker | str | collections.abc.Sequence[colour.characterisation.datasets.colour_checkers.chromaticity_coordinates.ColourChecker | str]) – Filterer or
colour.characterisation.ColourChecker
class instance (which is passed through directly if its type is one of the mapping element types) or list of filterers.filterers
elements 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 colour checkers.
- Return type