diff --git a/b_asic/resources.py b/b_asic/resources.py index f9b060ed3fa0499be0050603b663f56c7d89efcc..301a1db19e3b16e25b21a50a9178a344a64e7b9c 100644 --- a/b_asic/resources.py +++ b/b_asic/resources.py @@ -98,6 +98,7 @@ def draw_exclusion_graph_coloring( color_dict: Dict[Process, int], ax: Optional[Axes] = None, color_list: Optional[Union[List[str], List[Tuple[float, float, float]]]] = None, + **kwargs, ) -> None: """ Helper function for drawing a colored exclusion graphs. @@ -132,6 +133,8 @@ def draw_exclusion_graph_coloring( A Matplotlib :class:`~matplotlib.axes.Axes` object to draw the exclusion graph. color_list : iterable of color, optional A list of colors in Matplotlib format. + **kwargs : Any + Named arguments passed on to :func:`networkx.draw_networkx` Returns ------- @@ -166,6 +169,7 @@ def draw_exclusion_graph_coloring( node_color=node_color_list, ax=ax, pos=nx.spring_layout(exclusion_graph, seed=1), + **kwargs, )