axes.set_title('wiggle for interference %s' % timestamp)
plot = axes.plot(output, output, 'b.-')
figure.canvas.draw()
- figure.show()
+ if hasattr(figure, 'show'):
+ figure.show()
if not _matplotlib.is_interactive():
_matplotlib_pyplot.show()
return (figure, axes, plot)