make sure Python knows when we are interactive (for stevengj/PyPlot#79)