diff --git a/app/__pycache__/app.cpython-36.pyc b/app/__pycache__/app.cpython-36.pyc index a6bf370..6914d02 100644 Binary files a/app/__pycache__/app.cpython-36.pyc and b/app/__pycache__/app.cpython-36.pyc differ diff --git a/app/app.py b/app/app.py index db82b19..855785b 100644 --- a/app/app.py +++ b/app/app.py @@ -6,6 +6,8 @@ from flask import Flask, render_template, g, jsonify, request, redirect import pandas as pd import settings from random import choice +import matplotlib +matplotlib.use('Agg') import matplotlib.pyplot as plt from matplotlib.pyplot import rcParams diff --git a/app/templates/c3-chart.html b/app/templates/c3-chart.html new file mode 100644 index 0000000..24e877a --- /dev/null +++ b/app/templates/c3-chart.html @@ -0,0 +1,34 @@ + + +
+ +