Draw Collections

pandapower.plotting.draw_collections(collections, figsize=(10, 8), ax=None, plot_colorbars=True, set_aspect=True, axes_visible=(False, False))

Draws matplotlib collections which can be created with the create collection functions.

collections (list) - iterable of collection objects

figsize (tuple, (10,8)) - figsize of the matplotlib figure

ax (axis, None) - matplotlib axis object to plot into, new axis is created if None

Example plot with mv_oberrhein network from the pandapower.networks package: