if yfit != None:
axes.plot(data['z'], yfit, 'r-', label='fit')
+ axes.autoscale(tight=True)
axes.set_title('bump surface %s' % timestamp)
#axes.legend(loc='upper left')
axes.set_xlabel('Z piezo (meters)')
# second subplot for residual
residual_axes.plot(data['z'], data['deflection'] - yfit,
'r-', label='residual')
+ residual_axes.autoscale(tight=True)
#residual_axes.legend(loc='upper right')
residual_axes.set_xlabel('Z piezo (meters)')
residual_axes.set_ylabel('Photodiode (Volts)')