SvgFig.text and PyFig.top_code