colour.utilities.is_networkx_installed¶
- colour.utilities.is_networkx_installed(raise_exception: bool = False) bool [source]¶
Return whether NetworkX is installed and available.
- Parameters
raise_exception (bool) – Whether to raise an exception if NetworkX is unavailable.
- Returns
Whether NetworkX is installed.
- Return type
- Raises
ImportError – If NetworkX is not installed.