changed to agg backend for heroku
This commit is contained in:
parent
5e243cdc61
commit
57af966ebe
4 changed files with 43 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue