nickil commited on
Commit
e853eeb
·
1 Parent(s): 8ce54e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import matplotlib
2
  matplotlib.use('agg')
3
  import os
4
- os.system('Xvfb :1 -screen 0 1600x1200x32 &') # create virtual display with size 1600x1200 and 16 bit color. Color can be changed to 24 or 8
5
  os.environ['DISPLAY']=':1.0' # tell X clients to use our virtual DISPLAY :1.0
6
 
7
  from PIL import Image
 
1
  import matplotlib
2
  matplotlib.use('agg')
3
  import os
4
+ os.system('Xvfb :1 -screen 0 1600x1200x24 &') # create virtual display with size 1600x1200 and 16 bit color. Color can be changed to 24 or 8
5
  os.environ['DISPLAY']=':1.0' # tell X clients to use our virtual DISPLAY :1.0
6
 
7
  from PIL import Image