From 1f447e2f136c589efac1c5594e0638866c1e2eaf Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 12 Jul 2012 13:46:53 -0400 Subject: [PATCH] Remove matplotlib.pyplot.show call from analyze_surface_position_data. This call was redundant and not protected by a config['matplotlib'] check. --- pypiezo/surface.py | 1 - 1 file changed, 1 deletion(-) 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] -- 2.26.2