Beispiel #1
0
def get_weekly_plot():
    """
    Send weekly plot file via this route
    :return: none
    """
    ana = Analytics.get_instance()
    ana.weekly_plot()
    filename = 'images/weekly.png'
    return send_file(filename, mimetype='image/png')