capital.pl.tree_alignment

capital.pl.tree_alignment(aligned_data, figsize=(10, 8), node_size=1200, font_size=18, dpi=600, show=True, save=False)

Plot the alignment of the trees.

Parameters:
  • aligned_data (CapitalData) – [description]

  • figsize (tuple) – [description], by default (10, 8).

  • node_size (int) – [description], by default 1200.

  • font_size (int) – [description], by default 18.

  • show (bool,) – If True, show the figure. If False, return figure, by default True.

  • save (Union[str, bool]) – If True or str, save the figure. If a path is specified as str, the figure is saved in the path, by default None.