From 335cb3d9c5c59c0ff29ea1eca71b9f8e044e78cc Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 28 Jul 2011 13:55:26 -0400 Subject: [PATCH] Fix base_config -> package_config reference in surface.py. --- pypiezo/surface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pypiezo/surface.py b/pypiezo/surface.py index 0145b23..7da39d4 100644 --- a/pypiezo/surface.py +++ b/pypiezo/surface.py @@ -35,6 +35,7 @@ except (ImportError, RuntimeError), e: _matplotlib_import_error = e from . import LOG as _LOG +from . import package_config as _package_config from . import base as _base @@ -207,7 +208,7 @@ def analyze_surface_position_data( full_output=True, maxfev=10000) _LOG.debug('best fit parameters: %s' % (params,)) - if _base_config['matplotlib']: + if _package_config['matplotlib']: if not _matplotlib: raise _matplotlib_import_error figure = _matplotlib_pyplot.figure() -- 2.26.2