From: W. Trevor King Date: Thu, 28 Jul 2011 17:55:26 +0000 (-0400) Subject: Fix base_config -> package_config reference in surface.py. X-Git-Tag: 0.5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc94f3f02e1e27a28ea04b4024497595c389ed17;p=pypiezo.git Fix base_config -> package_config reference in surface.py. --- 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()