iris.fileformats.dot¶
Provides Creation and saving of DOT graphs for a iris.cube.Cube
.
In this module:
-
iris.fileformats.dot.
cube_text
(cube)[source]¶ Return a DOT text representation a iris.cube.Cube.
- Parameters
cube - The cube for which to create DOT text. (*) –
-
iris.fileformats.dot.
save
(cube, target)[source]¶ Save a dot representation of the cube.
:param * cube - A
iris.cube.Cube
.: :param * target - A filename or open file handle.:See also
iris.io.save()
.
-
iris.fileformats.dot.
save_png
(source, target, launch=False)[source]¶ Produces a “dot” instance diagram by calling dot and optionally launching the resulting image.
:param * source - A
iris.cube.Cube
: :param or dot filename.: :param * target - A filename or open file handle.: If passing a file handle, take care to open it for binary output.Kwargs:
launch - Display the image. Default is False.
See also
iris.io.save()
.