added ability to display Pylab figure objects for issue #15