travis; readme
This commit is contained in:
parent
a0ac7b4a1e
commit
010a25f4cb
12
README.md
12
README.md
@ -20,4 +20,16 @@ Plots is a plotting API and toolset. My goals with the package are:
|
|||||||
|
|
||||||
Use the preprocessing pipeline in Plots to fully describe your visualization before it calls the backend code. This maintains modularity and allows for efficient separation of front end code, algorithms, and backend graphics. New graphical backends can be added with minimal effort.
|
Use the preprocessing pipeline in Plots to fully describe your visualization before it calls the backend code. This maintains modularity and allows for efficient separation of front end code, algorithms, and backend graphics. New graphical backends can be added with minimal effort.
|
||||||
|
|
||||||
|
```julia
|
||||||
|
using Plots
|
||||||
|
pyplot(reuse=true)
|
||||||
|
|
||||||
|
@gif for i in linspace(0,2π,100)
|
||||||
|
X = Y = linspace(-5,5,40)
|
||||||
|
surface(X, Y, (x,y) -> sin(x+10sin(i))+cos(y))
|
||||||
|
end
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
View the [full documentation](http://plots.readthedocs.org).
|
View the [full documentation](http://plots.readthedocs.org).
|
||||||
|
|||||||
@ -5,5 +5,8 @@ sudo apt-get -qq update
|
|||||||
sudo apt-get install -y wkhtmltopdf
|
sudo apt-get install -y wkhtmltopdf
|
||||||
wkhtmltopdf -V
|
wkhtmltopdf -V
|
||||||
wkhtmltoimage -V
|
wkhtmltoimage -V
|
||||||
echo 'exec xvfb-run -a -s "-screen 0 640x480x16" wkhtmltoimage "$@"' | sudo tee /usr/local/bin/wkhtmltoimage.sh >/dev/null
|
# echo 'exec xvfb-run -a -s "-screen 0 640x480x16" wkhtmltoimage "$@"' | sudo tee /usr/local/bin/wkhtmltoimage.sh >/dev/null
|
||||||
sudo chmod a+x /usr/local/bin/wkhtmltoimage.sh
|
# sudo chmod a+x /usr/local/bin/wkhtmltoimage.sh
|
||||||
|
export DISPLAY=:99.0
|
||||||
|
sh -e /etc/init.d/xvfb start
|
||||||
|
sleep 3 # give xvfb some time to start
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user