Skip to content

Commit 574a486

Browse files
Update pymc/model_graph.py
Co-authored-by: Jesse Grabowski <[email protected]>
1 parent 78fdd17 commit 574a486

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pymc/model_graph.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,7 @@ def make_graph(
463463
node_formatters = node_formatters or {}
464464
node_formatters = update_node_formatters(node_formatters)
465465

466-
graph = graphviz.Digraph(name)
467-
if graph_attrs is not None:
468-
graph.attr(**graph_attrs)
469-
466+
graph = graphviz.Digraph(name, graph_attr=graph_attrs)
470467
for plate in plates:
471468
if plate.dim_info:
472469
# must be preceded by 'cluster' to get a box around it

0 commit comments

Comments
 (0)