Commit 70f0e42c authored by Malte R's avatar Malte R
Browse files

Update docstring of graphviz_draw.

The effect of setting "output" to None should be more clear now.
parent 4e66070a
Pipeline #748 passed with stage
in 89 minutes and 35 seconds
......@@ -236,14 +236,13 @@ def graphviz_draw(g, pos=None, size=(15, 15), pin=False, layout=None,
Scalar edge property map which specifies the order with which edges
are drawn.
output : string (default: ``""``)
Output file name.
Output file name. If ``None`` then no output is produced.
output_format : string (default: ``"auto"``)
Output file format. Possible values are ``"auto"``, ``"xlib"``,
``"ps"``, ``"svg"``, ``"svgz"``, ``"fig"``, ``"mif"``, ``"hpgl"``,
``"pcl"``, ``"png"``, ``"gif"``, ``"dia"``, ``"imap"``, ``"cmapx"``. If
the value is ``"auto"``, the format is guessed from the ``output``
parameter, or ``xlib`` if it is empty. If the value is ``None``, no
output is produced.
parameter, or ``xlib`` if it is empty.
fork : bool (default: ``False``)
If ``True``, the program is forked before drawing. This is used as a
work-around for a bug in graphviz, where the ``exit()`` function is
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment