Revert "Catch infinite log range error"

This reverts commit 051d7ecc4d7780e661a7d58bf4cb38e4952fb858.
Fix crash if plotting inf/nan value in log space.

Caused by missing brackets!