Skip to content

Commit f7595b5

Browse files
Update cf.environment function to include cf-plot dependencies
1 parent 8c760f8 commit f7595b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cf/functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3183,8 +3183,7 @@ def _section(x, axes=None, stop=None, chunks=False, min_step=1):
31833183

31843184

31853185
def environment(display=True, paths=True):
3186-
"""Return the names and versions of the cf package and its
3187-
dependencies.
3186+
"""Return the names and versions of cf, cf-plot and their dependencies.
31883187

31893188
:Parameters:
31903189

@@ -3216,6 +3215,7 @@ def environment(display=True, paths=True):
32163215
"psutil": _get_module_info("psutil"),
32173216
"matplotlib": _get_module_info("matplotlib", try_except=True),
32183217
"activestorage": _get_module_info("activestorage", try_except=True),
3218+
"cartopy": _get_module_info("cartopy", try_except=True),
32193219
"cfplot": _get_module_info("cfplot", try_except=True),
32203220
"cf": (__version__, _os_path_abspath(__file__)),
32213221
}

0 commit comments

Comments
 (0)