@@ -75,7 +75,7 @@ def draw_gridlike(
7575 ax: Optional matplotlib axis to use for drawing.
7676 tilted: If True, directly position as (row, column); otherwise,
7777 rotate 45 degrees to accommodate google-style diagonal grids.
78- kwargs: Additional arguments to pass to `nx.draw_networkx`.
78+ ** kwargs: Additional arguments to pass to `nx.draw_networkx`.
7979
8080 Returns:
8181 A positions dictionary mapping nodes to (x, y) coordinates suitable for future calls
@@ -126,7 +126,7 @@ def draw(self, ax=None, tilted: bool = True, **kwargs) -> Dict[Any, Tuple[int, i
126126 Args:
127127 ax: Optional matplotlib axis to use for drawing.
128128 tilted: If True, draw as a horizontal line. Otherwise, draw on a diagonal.
129- kwargs: Additional arguments to pass to `nx.draw_networkx`.
129+ ** kwargs: Additional arguments to pass to `nx.draw_networkx`.
130130 """
131131 g2 = nx .relabel_nodes (self .graph , {n : (n , 1 ) for n in self .graph .nodes })
132132 return draw_gridlike (g2 , ax = ax , tilted = tilted , ** kwargs )
@@ -217,7 +217,7 @@ def draw(self, ax=None, tilted=True, **kwargs):
217217 ax: Optional matplotlib axis to use for drawing.
218218 tilted: If True, directly position as (row, column); otherwise,
219219 rotate 45 degrees to accommodate the diagonal nature of this topology.
220- kwargs: Additional arguments to pass to `nx.draw_networkx`.
220+ ** kwargs: Additional arguments to pass to `nx.draw_networkx`.
221221 """
222222 return draw_gridlike (self .graph , ax = ax , tilted = tilted , ** kwargs )
223223
0 commit comments