Merge lp:~rmurri/objgraph/any-output-format into lp:objgraph
Proposed by
Riccardo Murri
Status: | Merged |
---|---|
Merge reported by: | Marius Gedminas |
Merged at revision: | not available |
Proposed branch: | lp:~rmurri/objgraph/any-output-format |
Merge into: | lp:objgraph |
Diff against target: |
51 lines (+16/-15) 1 file modified
objgraph.py (+16/-15) |
To merge this branch: | bzr merge lp:~rmurri/objgraph/any-output-format |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marius Gedminas | Approve | ||
Review via email: mp+93969@code.launchpad.net |
Description of the change
Allow the ``filename`` argument in ``show_graph`` to specify an arbitrary output format (by extension).
The ``dot`` program will do the right thing, and we fall back to just providing the ``.dot`` file if conversion fails (which may well be, since many backends are optional in graphviz).
I have only used/tested this with ``.svg`` output, but there's no reason it should not work with any other.
To post a comment you must log in.
Thanks, merged!