From 50c4a8985d713e06bc809f221756ae9c69eacd18 Mon Sep 17 00:00:00 2001 From: Arne de Laat Date: Tue, 16 Jan 2018 22:10:41 +0100 Subject: [PATCH] Cleanup graph source file after rendering graph to pdf --- ffmpeg/_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg/_view.py b/ffmpeg/_view.py index cdb41b0..d2a945b 100644 --- a/ffmpeg/_view.py +++ b/ffmpeg/_view.py @@ -76,7 +76,7 @@ def view(stream_spec, **kwargs): downstream_node_id = str(hash(edge.downstream_node)) graph.edge(upstream_node_id, downstream_node_id, **kwargs) - graph.view(filename) + graph.view(filename, cleanup=True) return stream_spec