changed to agg backend for heroku

This commit is contained in:
Walker Waylon Scott 2017-05-21 11:02:50 -05:00
parent 5e243cdc61
commit 57af966ebe
4 changed files with 43 additions and 4 deletions

View file

@ -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