@@ -30,7 +30,7 @@ def draw_graph(
3030 e_color : Union [str , list ] = "gray" ,
3131 e_fill_color : Union [str , list ] = "whitesmoke" ,
3232 e_line_width : Union [str , list ] = 1.0 ,
33- font_size : int = 1.0 ,
33+ font_size : float = 1.0 ,
3434 font_family : str = "sans-serif" ,
3535 push_v_strength : float = 1.0 ,
3636 push_e_strength : float = 1.0 ,
@@ -98,14 +98,14 @@ def draw_digraph(
9898 v_line_width : Union [str , list ] = 1.0 ,
9999 e_color : Union [str , list ] = "gray" ,
100100 e_line_width : Union [str , list ] = 1.0 ,
101- font_size : int = 1.0 ,
101+ font_size : float = 1.0 ,
102102 font_family : str = "sans-serif" ,
103103 push_v_strength : float = 1.0 ,
104104 push_e_strength : float = 1.0 ,
105105 pull_e_strength : float = 1.0 ,
106106 pull_center_strength : float = 1.0 ,
107107):
108- r"""Draw the directed graph structure.
108+ r"""Draw the directed graph structure.
109109
110110 Args:
111111 ``g`` (``dhg.DiGraph``): The DHG's directed graph object.
@@ -178,7 +178,7 @@ def draw_bigraph(
178178 pull_v_center_strength : float = 1.0 ,
179179):
180180 r"""Draw the bipartite graph structure.
181-
181+
182182 Args:
183183 ``g`` (``dhg.BiGraph``): The DHG's bipartite graph object.
184184 ``e_style`` (``str``): The edge style. The supported edge styles are only ``'line'``. Defaults to ``'line'``.
@@ -287,7 +287,7 @@ def draw_hypergraph(
287287 pull_center_strength : float = 1.0 ,
288288):
289289 r"""Draw the hypergraph structure.
290-
290+
291291 Args:
292292 ``hg`` (``dhg.Hypergraph``): The DHG's hypergraph object.
293293 ``e_style`` (``str``): The style of hyperedges. The available styles are only ``'circle'``. Defaults to ``'circle'``.
0 commit comments