Skip to content

Commit d49931d

Browse files
committed
Fix example in doc-string
1 parent 5ded607 commit d49931d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/graphviz_anywidget/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class GraphvizWidget(anywidget.AnyWidget):
1616
Example:
1717
-------
1818
>>> dot_string = "digraph { a -> b; b -> c; c -> a; }"
19-
>>> pipe_func_graph_widget = PipeFuncGraphWidget(dot_source=dot_string)
20-
>>> pipe_func_graph_widget
19+
>>> widget = GraphvizWidget(dot_source=dot_string)
20+
>>> widget
2121
2222
"""
2323

0 commit comments

Comments
 (0)