Fix error when using MathConst in plots. Fixes #460