utdf2gmns.func_lib.plot_net_mpl

utdf2gmns.func_lib.plot_net_mpl(net: object, *, save_fig: bool = False, fig_name: str = 'utdf_network.png', fig_size: tuple = (12, 12), dpi: int = 600) plt.figure[source]

Plot network

Parameters:
  • net (object) – the utdf2gmns.UTDF2GMNS object

  • save_fig (bool) – whether to save the figure. Defaults to False.

  • fig_name (str) – the name of the figure. Defaults to “utdf_network.png”.

  • fig_size (tuple) – the size of the figure. Defaults to (12, 12).

  • dpi (int) – the dpi of the figure. Defaults to 600.

Returns:

the figure object

Return type:

plt.figure