def attribute_mixing_dict(G, attribute, nodes=None, normalized=False):
 xy_iter = node_attribute_xy(G, attribute, nodes)
 return mixing_dict(xy_iter, normalized=normalized)

def attribute_mixing_dict ( G , attribute , nodes = None , normalized = False ) : xy_iter = node_attribute_xy ( G , attribute , nodes ) return mixing_dict ( xy_iter , normalized = normalized )
return dictionary representation of mixing matrix for attribute .