monee visualization¶
monee visualization¶
- monee.visualization.visualization.plot_network(network: monee.model.network.Network, color_df=None, color_name=None, color_legend_text=None, title=None, plot_node_characteristics=True, template='plotly_white+publish', without_nodes=False, use_monee_positions=False, write_to='net.pdf')[source]¶
Plot a monee network using plotly.
- Parameters:
network (mm.Network) – _description_
color_df (_type_, optional) – _description_. Defaults to None.
color_name (_type_, optional) – _description_. Defaults to None.
color_legend_text (_type_, optional) – _description_. Defaults to None.
title (_type_, optional) – _description_. Defaults to None.
plot_node_characteristics (bool, optional) – _description_. Defaults to True.
template (str, optional) – _description_. Defaults to “plotly_white+publish”.
without_nodes (bool, optional) – _description_. Defaults to False.
use_monee_positions (bool, optional) – _description_. Defaults to False.
write_to (str, optional) – _description_. Defaults to “net.pdf”.
- Returns:
the plotly figure
- Return type:
_type_