From: W. Trevor King Date: Thu, 12 Jul 2012 17:46:53 +0000 (-0400) Subject: Remove matplotlib.pyplot.show call from analyze_surface_position_data. X-Git-Tag: 0.7~4 X-Git-Url: http://git.tremily.us/?p=pypiezo.git;a=commitdiff_plain;h=1f447e2f136c589efac1c5594e0638866c1e2eaf Remove matplotlib.pyplot.show call from analyze_surface_position_data. This call was redundant and not protected by a config['matplotlib'] check. --- diff --git a/pypiezo/surface.py b/pypiezo/surface.py index b12d5f3..57a4eb8 100644 --- a/pypiezo/surface.py +++ b/pypiezo/surface.py @@ -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]