Create postBuild

This commit is contained in:
philcarmona
2020-05-27 23:54:38 +02:00
committed by GitHub
parent 3671c17e8a
commit 3cfce0e97d

9
postBuild Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
# run matplotlib once to generate the font cache
python -c "import matplotlib as mpl; mpl.use('Agg'); import pylab as plt; fig, ax = plt.subplots(); fig.savefig('test.png')"
test -e test.png && rm test.png
jupyter labextension install @jupyterlab/latex
jupyter lab build