code: def swatches(template=None):
      return _swatches(__name__, globals(), template)
  
imports: from ._swatches import _swatches, _swatches_continuous
  from .plotlyjs import Blackbody, Bluered, Electric, Hot, Jet, Rainbow
  from .colorbrewer import Blues, BuGn, BuPu, GnBu, Greens, Greys, OrRd, Oranges, PuBu, PuBuGn, PuRd, Purples, RdBu, RdPu, Reds, YlGn, YlGnBu, YlOrBr, YlOrRd
  from .cmocean import turbid, thermal, haline, solar, ice, gray, deep, dense, algae, matter, speed, amp, tempo
  from .carto import Burg, Burgyl, Redor, Oryel, Peach, Pinkyl, Mint, Blugrn, Darkmint, Emrld, Aggrnyl, Bluyl, Teal, Tealgrn, Purp, Purpor, Sunset, Magenta, Sunsetdark, Agsunset, Brwnyl
label_desc: Use image node_id 1 for calling a global function with example usage: swatches(template) and returns: _swatches