code: def plot_mv_grid_topology(self, technologies=False, **kwargs):
          
          if self.network.pypsa is None:
              try:
                  timesteps = self.network.timeseries.timeindex
                  self.network.pypsa = pypsa_io.to_pypsa(
                      self.network, mode=None, timesteps=timesteps)
              except:
                  logging.warning(
                      "pypsa representation of MV grid needed to plot MV "
                      "grid topology.")
  
          if self.network.pypsa is not None:
              plots.mv_grid_topology(
                  self.network.pypsa, self.network.config,
                  node_color='technology' if technologies is True else None,
                  filename=kwargs.get('filename', None),
                  grid_district_geom=kwargs.get('grid_district_geom', True),
                  background_map=kwargs.get('background_map', True),
                  xlim=kwargs.get('xlim', None), ylim=kwargs.get('ylim', None),
                  title=kwargs.get('title', ''))
docs: Plots plain MV grid topology and optionally nodes by technology type
          (e.g. station or generator).
  
          Parameters
          ----------
          technologies : :obj:`Boolean`
              If True plots stations, generators, etc. in the grid in different
              colors. If False does not plot any nodes. Default: False.
  
          For more information see :func:`edisgo.tools.plots.mv_grid_topology`.