A quick hack to get the WebAgg backend working with `ipython --pylab` until proper IPython integration can be done.
Merge pull request #1651 from mdboom/webagg/pylab_compatibility

WebAgg: pylab compatibility