[x] Fix warning in text / image ratio when area of the image == 0
/usr/local/lib/python3.5/dist-packages/prettywebsite-0.0.4-py3.5.egg/prettywebsite/spaceBasedDecomposition.py:63: RuntimeWarning: divide by zero encountered in long_scalars return({"textImageRatio":sum(text) / sum(image),"textArea":sum(text),"imageArea":sum(image),"nImages":len(image)})
From Braun, J., Amirshahi, S. A., Denzler, J., & Redies, C. (2013). Statistical image properties of print advertisements, visual artworks and images of architecture. Frontiers in Psychology, 4, 808.:
/usr/local/lib/python3.5/dist-packages/prettywebsite-0.0.4-py3.5.egg/prettywebsite/spaceBasedDecomposition.py:63: RuntimeWarning: divide by zero encountered in long_scalars return({"textImageRatio":sum(text) / sum(image),"textArea":sum(text),"imageArea":sum(image),"nImages":len(image)})