code: def get_plot(self, width=8, height=8):
          
          plt = pretty_plot(width, height)
          for label, electrode in self._electrodes.items():
              (x, y) = self.get_plot_data(electrode)
              plt.plot(x, y, '-', linewidth=2, label=label)
  
          plt.legend()
          if self.xaxis == "capacity":
              plt.xlabel('Capacity (mAh/g)')
          else:
              plt.xlabel('Fraction')
          plt.ylabel('Voltage (V)')
          plt.tight_layout()
          return plt
docs: Returns a plot object.
  
          Args:
              width: Width of the plot. Defaults to 8 in.
              height: Height of the plot. Defaults to 6 in.
  
          Returns:
              A matplotlib plot object.