File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -430,6 +430,8 @@ def edges(
430430 ]
431431
432432
433+ GraphAttrMapping = dict [Any , Any ]
434+
433435def make_graph (
434436 name : str ,
435437 plates : list [Plate ],
@@ -439,7 +441,7 @@ def make_graph(
439441 figsize = None ,
440442 dpi = 300 ,
441443 node_formatters : NodeTypeFormatterMapping | None = None ,
442- graph_attrs : dict [ str , Any ] | None ,
444+ graph_attrs : GraphAttrMapping | None = None ,
443445 create_plate_label : PlateLabelFunc = create_plate_label_with_dim_length ,
444446):
445447 """Make graphviz Digraph of PyMC model.
@@ -680,7 +682,7 @@ def model_to_graphviz(
680682 figsize : tuple [int , int ] | None = None ,
681683 dpi : int = 300 ,
682684 node_formatters : NodeTypeFormatterMapping | None = None ,
683- graph_attrs : dict [ str , Any ] | None = None ,
685+ graph_attrs : GraphAttrMapping | None = None ,
684686 include_dim_lengths : bool = True ,
685687):
686688 """Produce a graphviz Digraph from a PyMC model.
You can’t perform that action at this time.
0 commit comments