Skip to content

Commit d5c878b

Browse files
update dag_drawe documentation to include DAGDependency on allowed types, issues Qiskit#13021
1 parent 1686815 commit d5c878b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiskit/visualization/dag_visualization.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def dag_drawer(dag, scale=0.7, filename=None, style="color"):
8181
``rustworkx`` package to draw the DAG.
8282
8383
Args:
84-
dag (DAGCircuit): The dag to draw.
84+
dag (DAGCircuit or DAGDependency): The dag to draw.
8585
scale (float): scaling factor
8686
filename (str): file path to save image to (format inferred from name)
8787
style (str): 'plain': B&W graph

0 commit comments

Comments
 (0)