def _plot_safe_energy_range(self, ax):
    'add safe energy range lines to the plot'
    esafe = self.energy_thresh_lo
    omin = self.offset_axis.center.min()
    omax = self.offset_axis.center.max()
    ax.vlines(x=esafe.value, ymin=omin.value, ymax=omax.value)
    label = f'Safe energy threshold: {esafe:3.2f}'
    ax.text(x=(1.1 * esafe.value), y=0.3, s=label, va='top')
add safe energy range lines to the plot
def _plot_safe_energy_range(self, ax):
    
    esafe = self.energy_thresh_lo
    omin = self.offset_axis.center.min()
    omax = self.offset_axis.center.max()
    ax.vlines(x=esafe.value, ymin=omin.value, ymax=omax.value)
    label = f'Safe energy threshold: {esafe:3.2f}'
    ax.text(x=(1.1 * esafe.value), y=0.3, s=label, va='top')