graph_mpl.pdf 162 Bytes
Newer Older
1 2 3 4 5 6 7
{{
    import cStringIO
    response.body = cStringIO.StringIO()

    response.headers['Content-Type']='application/pdf'
    response.write(data, escape=False)
}}