Remove matplotlib.pyplot.show call from analyze_surface_position_data.
authorW. Trevor King <wking@tremily.us>
Thu, 12 Jul 2012 17:46:53 +0000 (13:46 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 12 Jul 2012 17:46:57 +0000 (13:46 -0400)
This call was redundant and not protected by a config['matplotlib']
check.

pypiezo/surface.py

index b12d5f35e79196d45f6d1203c7928315cf556a6b..57a4eb838da8fd8b9d901bc121d7f3568057dd56 100644 (file)
@@ -252,7 +252,6 @@ def analyze_surface_position_data(
     if params[2] > final_pos-kink_window:
         raise EdgeKink(kink=params[2], edge=final_pos, window=kink_window)
     _LOG.info('surface position %s' % params[2])
-    _matplotlib_pyplot.show()
     if return_all_parameters:
         return params
     return params[2]