code: def color_map(cls, group):
          print("Group %s" % group)
          
          try:
              state_idx = cls.states.index(group)
          except ValueError:
              # on any unexpected state, return black
              state_idx = 5
          return cls.colors[state_idx], cls.markers[0]
docs: Change default color behavior.
  
          Map certain states always to the same colors (similar to MMS).