The Ising model and planar Yang–Mills