Remove superfluous grid line for log scale

Backport this fix to `0.9.x`, refs #389.