Skip to content

Commit 5386b9a

Browse files
authored
allow passing additional options to graphviz, fix #332
1 parent e9a2545 commit 5386b9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

streamz/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def readable_graph(graph):
131131
def to_graphviz(graph, **graph_attr):
132132
import graphviz
133133

134-
gvz = graphviz.Digraph(graph_attr=graph_attr)
134+
gvz = graphviz.Digraph(**graph_attr)
135135
for node, attrs in graph.nodes.items():
136136
gvz.node(node, **attrs)
137137
for edge, attrs in graph.edges().items():

0 commit comments

Comments
 (0)