AFM.stepper_approach should only call figure.show if it exits.
authorW. Trevor King <wking@tremily.us>
Thu, 2 Aug 2012 16:17:21 +0000 (12:17 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 2 Aug 2012 16:21:14 +0000 (12:21 -0400)
commit4c1fcb8472d10b52fffb50f55ba8a9b2146bf298
treeeb0555c7badd86cbd5565c8b7025d5832aa617b7
parentffbbd199d4de2e1892c4bfecdaf120b253a02842
AFM.stepper_approach should only call figure.show if it exits.

For example, figures generated with the Agg backend don't have a
'show' method.
pyafm/afm.py