Web Demo: Use a non-interactive backend.
This commit is contained in:
parent
ae61278fb2
commit
513ad57244
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue