code: def simple_defaults(self, defaults_dic):
          
  
          defaults=[]
          for d in defaults_dic.keys():
              dic={}
              dic["visualProperty"]=d
              dic["value"]=defaults_dic[d]
              defaults.append(dic)
          return defaults
docs: Simplifies defaults.
  
          :param defaults_dic: a dictionary of the form { visualProperty_A:value_A, visualProperty_B:value_B, ..}
  
          :returns: a list of dictionaries with each item corresponding to a given key in defaults_dic