'write text in the shape'

def _write_text(self, node, shape):

    tx_body = SubElement(node, ('{%s}txBody' % CHART_DRAWING_NS))
    SubElement(tx_body, ('{%s}bodyPr' % DRAWING_NS), {'vertOverflow': 'clip'})
    SubElement(tx_body, ('{%s}lstStyle' % DRAWING_NS))
    p = SubElement(tx_body, ('{%s}p' % DRAWING_NS))
    if shape.text:
        r = SubElement(p, ('{%s}r' % DRAWING_NS))
        rpr = SubElement(r, ('{%s}rPr' % DRAWING_NS), {'lang': 'en-US'})
        fill = SubElement(rpr, ('{%s}solidFill' % DRAWING_NS))
        SubElement(fill, ('{%s}srgbClr' % DRAWING_NS), {'val': shape.text_color})
        SubElement(r, ('{%s}t' % DRAWING_NS)).text = shape.text
    else:
        SubElement(p, ('{%s}endParaRPr' % DRAWING_NS), {'lang': 'en-US'})
