colour.utilities.is_pydot_installed#

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

Return whether Pydot is installed and available. The presence of Graphviz will also be tested.

Parameters:

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

Returns:

Whether Pydot is installed.

Return type:

bool

Raises:

ImportError – If Pydot is not installed.