ParametricSolution.plot_flow_on_edge

ParametricSolution.plot_flow_on_edge(edge: int, x=None, ax=None, **kwargs) None[source]

Plot flow on edge.

Parameters
edgeint

Index of edge to plot flow.

xndarray, optional

Plot flow for demand factor x. If None, flow will be plotted for linspace(min_param, max_param, 100).

Returns
figFigure, optional

Figure that created ax belongs to if ax is None.

axAxesSubplot, optional

Axis where flow is plotted on, retured if None given.