code: def swatches(template=None):
      return _swatches(__name__, globals(), template)
  
imports: from ._swatches import _swatches
  from .colorbrewer import Set1, Pastel1, Dark2, Set2, Pastel2, Set3
  from .carto import Antique, Bold, Pastel, Prism, Safe, Vivid
label_desc: Use image node_id 1 for calling a global function with example usage: swatches(template) and returns: _swatches