code: def plot_sfs_folded_scaled(*args, **kwargs):
      
      kwargs.setdefault('yscale', 'linear')
      ax = plot_sfs_folded(*args, **kwargs)
      ax.set_ylabel('scaled site frequency')
      n = kwargs.get('n', None)
      if n:
          ax.set_xlabel('minor allele frequency')
      else:
          ax.set_xlabel('minor allele count')
      return ax
docs: Plot a folded scaled site frequency spectrum.
  
      Parameters
      ----------
      s : array_like, int, shape (n_chromosomes/2,)
          Site frequency spectrum.
      yscale : string, optional
          Y axis scale.
      bins : int or array_like, int, optional
          Allele count bins.
      n : int, optional
          Number of chromosomes sampled. If provided, X axis will be plotted
          as allele frequency, otherwise as allele count.
      clip_endpoints : bool, optional
          If True, do not plot first and last values from frequency spectrum.
      label : string, optional
          Label for data series in plot.
      plot_kwargs : dict-like
          Additional keyword arguments, passed through to ax.plot().
      ax : axes, optional
          Axes on which to draw. If not provided, a new figure will be created.
  
      Returns
      -------
      ax : axes
          The axes on which the plot was drawn.