Throw an error for log plotting of infinite blocks. And add test for it.