docs: def add_coordinates(network):
      """
      Add coordinates to nodes based on provided geom
  
      Parameters
      ----------
      network : PyPSA network container
  
      Returns
      -------
      Altered PyPSA network container ready for plotting
      """
      for idx, row in network.buses.iterrows():
          wkt_geom = to_shape(row['geom'])
          network.buses.loc[idx, 'x'] = wkt_geom.x
          network.buses.loc[idx, 'y'] = wkt_geom.y
  
      return network