NetworkSim.simulation.tools.plot
.plot_latency_heatmap¶
-
NetworkSim.simulation.tools.plot.
plot_latency_heatmap
(latency, type=None, fig=None, ax=None, title=None)[source]¶ Plot average latency of all nodes in a simulator as a heatmap.
- Parameters
latency (pandas DataFrame) – A DataFrame containing the latency information, generated from
summary
.type (string, optional) – Type of latency to be plotted, by default
None
.fig (figure, optional) – Figure to be plotted on, by default
None
.ax (axis, optional) – Axis to be plotted on, by default
None
.title (string, optional) – Plot title, by default
None
.
- Returns
fig – Plot figure object.
- Return type
figure