docs: def plot_band(plt_in, band_name, rsr_obj, **kwargs):
      """Do the plotting of one band"""
      if 'platform_name_in_legend' in kwargs:
          platform_name_in_legend = kwargs['platform_name_in_legend']
      else:
          platform_name_in_legend = False
  
      detectors = rsr_obj.rsr[band_name].keys()
      # for det in detectors:
      det = sorted(detectors)[0]
      resp = rsr_obj.rsr[band_name][det]['response']
      wvl = rsr_obj.rsr[band_name][det]['wavelength']
  
      resp = np.ma.masked_less_equal(resp, minimum_response)
      wvl = np.ma.masked_array(wvl, resp.mask)
      resp.compressed()
      wvl.compressed()
  
      if platform_name_in_legend:
          plt_in.plot(wvl, resp, label='{platform} - {band}'.format(
              platform=rsr_obj.platform_name, band=band_name))
      else:
          plt_in.plot(wvl, resp, label='{band}'.format(band=band_name))
  
      return plt_in