colour.plotting.common.filter_cmfs#
- colour.plotting.common.filter_cmfs(filterers: MultiSpectralDistributions | str | Sequence[MultiSpectralDistributions | str], allow_non_siblings: bool = True) Dict[str, MultiSpectralDistributions][source]#
Filter the colour matching functions matching the specified filterers.
- Parameters:
filterers (MultiSpectralDistributions | str | Sequence[MultiSpectralDistributions | str]) – Filterer or
colour.LMS_ConeFundamentals,colour.RGB_ColourMatchingFunctionsorcolour.XYZ_ColourMatchingFunctionsclass 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 colour matching functions.
- Return type: