Exemplo n.º 1
0
def wordcloud():
    d = wordcloud_diamond()
    plot_all = d.render_embed()
    return render_template(
        'index.html',
        echart=plot_all,
        the_select_region=area,
    )
Exemplo n.º 2
0
def wordcloud():
    d = wordcloud_diamond()
    plot_all = d.render_embed()
    return render_template(
        'index.html',
        echart=plot_all,
        the_select_region=area,
        the_title='你好,这里是对教师工资研究数据的分析',
    )