def plot_district_heating_network(pipelines, plot, loc='upper center'):
    """
    Plot the geometries of the district heating network on the plot interface.

    Parameters
    ----------
    pipeplines: GeoDataFrame
        Geodataframe of the district heating network.
    plot: dhd.plot.Plot
        Plot interface of the considered city.
    loc: tuple, optional
        Location of the legend box. Default is *loc* = 'upper center'.
    """
    label = 'District Heating Network'
    kwargs = {'color': 'black', 'linewidth': 1.5}
    plot.add_geodataframe(pipelines, kwargs)
    plot.add_legend([kwargs['color']], [label], 'line', loc=loc)
