cf.environment

cf.environment(display=True, paths=True)[source]

Return the names and versions of cf, cf-plot and their dependencies.

Parameters:
display: bool, optional

If False then return the description of the environment as a string. By default the description is printed.

paths: bool, optional

If False then do not output the locations of each package.

Added in version 3.0.6.

Returns:
None or str

If display is True then the description of the environment is printed and None is returned. Otherwise the description is returned as a string.