Web Demo: Use a non-interactive backend.

This commit is contained in:
Brandon Amos 2015-11-02 11:15:02 -05:00
parent ae61278fb2
commit 513ad57244
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ from sklearn.grid_search import GridSearchCV
from sklearn.manifold import TSNE
from sklearn.svm import SVC
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
import matplotlib.cm as cm