Fix matplotlib backend
This commit is contained in:
parent
be33b73824
commit
74c879c32a
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import matplotlib
|
||||
matplotlib.use('Agg')
|
||||
from flask import Flask, flash, redirect, render_template, request, make_response
|
||||
import matplotlib.pyplot as plt
|
||||
import io
|
||||
|
|
|
|||
Loading…
Reference in a new issue