code: def buffs(scale=None):
      """Returns a palette that maps buffs to rgb colors."""
      return categorical(static_data.BUFFS, scale)
  
imports: import collections
  import math
  import random
  import numpy
  from pysc2.lib import static_data
label_desc: Use image node_id 8 for calling a global function with example usage: buffs(scale) and returns: categorical