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, Blackbody_r, Bluered_r, Electric_r, Hot_r, Jet_r, Rainbow_r
  from .colorbrewer import Blues, BuGn, BuPu, GnBu, Greens, Greys, OrRd, Oranges, PuBu, PuBuGn, PuRd, Purples, RdBu, RdPu, Reds, YlGn, YlGnBu, YlOrBr, YlOrRd, Blues_r, BuGn_r, BuPu_r, GnBu_r, Greens_r, Greys_r, OrRd_r, Oranges_r, PuBu_r, PuBuGn_r, PuRd_r, Purples_r, RdBu_r, RdPu_r, Reds_r, YlGn_r, YlGnBu_r, YlOrBr_r, YlOrRd_r
  from .cmocean import turbid, thermal, haline, solar, ice, gray, deep, dense, algae, matter, speed, amp, tempo, turbid_r, thermal_r, haline_r, solar_r, ice_r, gray_r, deep_r, dense_r, algae_r, matter_r, speed_r, amp_r, tempo_r
  from .carto import Burg, Burgyl, Redor, Oryel, Peach, Pinkyl, Mint, Blugrn, Darkmint, Emrld, Aggrnyl, Bluyl, Teal, Tealgrn, Purp, Purpor, Sunset, Magenta, Sunsetdark, Agsunset, Brwnyl, Burg_r, Burgyl_r, Redor_r, Oryel_r, Peach_r, Pinkyl_r, Mint_r, Blugrn_r, Darkmint_r, Emrld_r, Aggrnyl_r, Bluyl_r, Teal_r, Tealgrn_r, Purp_r, Purpor_r, Sunset_r, Magenta_r, Sunsetdark_r, Agsunset_r, Brwnyl_r
label_desc: Use image node_id 1 for calling a global function with example usage: swatches(template) and returns: _swatches