'Ipython magic : show SVG representation of this ``AlignedSent``.'

def _repr_svg_(self):

    dot_string = self._to_dot().encode(u'utf8')
    output_format = u'svg'
    try:
        process = subprocess.Popen([u'dot', (u'-T%s' % output_format)], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    except OSError:
        raise Exception(u'Cannot    find    the    dot    binary    from    Graphviz    package')
    (out, err) = process.communicate(dot_string)
    return out.decode(u'utf8')
