colour.utilities.is_matplotlib_installed

colour.utilities.is_matplotlib_installed(raise_exception: bool = False) bool[source]

Return whether Matplotlib is installed and available.

Parameters

raise_exception (bool) – Whether to raise an exception if Matplotlib is unavailable.

Returns

Whether Matplotlib is installed.

Return type

bool

Raises

ImportError – If Matplotlib is not installed.