LenixC commited on
Commit
39dbd76
·
1 Parent(s): e38d1c8

Attempt a fix using switch_backend

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ from sklearn.preprocessing import MinMaxScaler
13
  from sklearn import datasets
14
  from sklearn.exceptions import ConvergenceWarning
15
 
16
- matplotlib.use('agg')
17
 
18
  # different learning rate schedules and momentum parameters
19
  params = [
 
13
  from sklearn import datasets
14
  from sklearn.exceptions import ConvergenceWarning
15
 
16
+ plt.switch_backend('agg')
17
 
18
  # different learning rate schedules and momentum parameters
19
  params = [