fixed examples
This commit is contained in:
parent
0beed92006
commit
e50024faed
|
@ -8,7 +8,7 @@ Python wrapper for running display inside X virtual framebuffer (Xvfb)
|
||||||
Requires:
|
Requires:
|
||||||
*************
|
*************
|
||||||
|
|
||||||
* Xvfb (`sudo apt-get install xvfb` or similar)
|
* Xvfb ('sudo apt-get install xvfb' or similar)
|
||||||
|
|
||||||
************
|
************
|
||||||
Example:
|
Example:
|
||||||
|
@ -18,7 +18,7 @@ Python wrapper for running display inside X virtual framebuffer (Xvfb)
|
||||||
|
|
||||||
from xvfbwrapper import Xvfb
|
from xvfbwrapper import Xvfb
|
||||||
|
|
||||||
vdisplay = Xvfb(width=1280, height=720)
|
vdisplay = Xvfb()
|
||||||
vdisplay.start()
|
vdisplay.start()
|
||||||
|
|
||||||
# launch stuff inside virtual display here
|
# launch stuff inside virtual display here
|
||||||
|
|
Loading…
Reference in New Issue