code: def plot_ebands(self, **kwargs):
          
          with self.nscf_task.open_gsr() as gsr:
              return gsr.ebands.plot(**kwargs)
docs: Plot the band structure. kwargs are passed to the plot method of :class:`ElectronBands`.
  
          Returns:
              `matplotlib` figure