original_docstring: 
      Continuous and discrete color sets for ordered data.
      
      Return a matplotlib colormap.
      Parameter lut is ignored for all colormaps except 'rainbow_discrete'.
      
docstring: Continuous and discrete color sets for ordered data.
  Return a matplotlib colormap.
  Parameter lut is ignored for all colormaps except 'rainbow_discrete'.
docstring_tokens: Continuous and discrete color sets for ordered data . Return a matplotlib colormap . Parameter lut is ignored for all colormaps except ' rainbow_discrete ' .
code: def tol_cmap(colormap=None, lut=None):
      """
      Continuous and discrete color sets for ordered data.
      
      Return a matplotlib colormap.
      Parameter lut is ignored for all colormaps except 'rainbow_discrete'.
      """
      obj = TOLcmaps()
      if colormap is None:
          return obj.namelist
      if colormap not in obj.namelist:
          colormap = 'rainbow_PuRd'
          print('*** Warning: requested colormap not defined,',
                'known colormaps are {}.'.format(obj.namelist),
                'Using {}.'.format(colormap))
      return obj.get(colormap, lut)
code_tokens: def tol_cmap ( colormap = None , lut = None ) : obj = TOLcmaps ( ) if colormap is None : return obj . namelist if colormap not in obj . namelist : colormap = 'rainbow_PuRd' print ( '*** Warning: requested colormap not defined,' , 'known colormaps are {}.' . format ( obj . namelist ) , 'Using {}.' . format ( colormap ) ) return obj . get ( colormap , lut )
short_docstring: Continuous and discrete color sets for ordered data.
short_docstring_tokens: Continuous and discrete color sets for ordered data .
comment: """
      Continuous and discrete color sets for ordered data.
      
      Return a matplotlib colormap.
      Parameter lut is ignored for all colormaps except 'rainbow_discrete'.
      """