colour.utilities.is_matplotlib_installed

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

Returns if Matplotlib is installed and available.

Parameters

raise_exception (bool) – Raise exception if Matplotlib is unavailable.

Returns

Is Matplotlib installed.

Return type

bool

Raises

ImportError – If Matplotlib is not installed.