Sometimes you want to troubleshoot surface detection without popping
up a plot of every single piezo sweep.
name='matplotlib',
help='Plot piezo motion using `matplotlib`.',
default=False),
+ _config.BooleanSetting(
+ name='surface-matplotlib',
+ help='Plot surface positiong fit using `matplotlib`.',
+ default=False),
]
full_output=True, maxfev=10000)
_LOG.info('best fit parameters: %s' % (params,))
- if _package_config['matplotlib']:
+ if _package_config['surface-matplotlib']:
if not _matplotlib:
raise _matplotlib_import_error
figure = _matplotlib_pyplot.figure()