Make plotting work without ipython pylab magic.