marik0 commited on
Commit
8baf63b
·
1 Parent(s): 889be89

Add matplotib backend to avoid warning

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -9,6 +9,9 @@ import numpy as np
9
  import pandas as pd
10
  import matplotlib.pyplot as plt
11
 
 
 
 
12
  def create_dataset(num_samples, num_informative):
13
  X, y = make_classification(
14
  n_samples=num_samples,
 
9
  import pandas as pd
10
  import matplotlib.pyplot as plt
11
 
12
+ import matplotlib
13
+ matplotlib.use('agg')
14
+
15
  def create_dataset(num_samples, num_informative):
16
  X, y = make_classification(
17
  n_samples=num_samples,