plotting.utils._limits_helper improvements

raise ValueError instead of assert and handle case where x1 == x2