def treelegendtext(cluster, color): text = TextFace(" %s " % cluster) text.hz_align = False text.fsize = 30 text.fstyle = 'Bold' text.background.color = color return text
def treelegendtext(whattoprint, color): text = TextFace(" %s " % whattoprint) text.hz_align = False text.fsize = 30 text.fstyle = 'Bold' text.background.color = color return text