Skip to content

Commit

Permalink
Bug in PostBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Dec 5, 2018
1 parent df5fd96 commit d4d088f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions postBuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ mv Humor-Sans-1.0.ttf ~/.fonts/Humor-Sans-1.0.ttf
cd ~/.fonts/
fc-cache -f -v

# Back to home
cd ~

# 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')"

Expand Down

0 comments on commit d4d088f

Please sign in to comment.