pysilcam/silcamgui/interactive_summary.py
def on_click(self, event):
        '''if you click the correct place, update the plot based on where you click'''
        if event.inaxes is not None:
            try:
                self.mid_time = pd.to_datetime(matplotlib.dates.num2date(event.xdata)).tz_convert(None)
                self.update_plot()
            except:
                pass
        else:
            pass
if you click the correct place, update the plot based on where you click
if you click the correct place, update the plot based on where you click
if you click the correct place update the plot based on where you click
def on_click(self, event):
        if event.inaxes is not None:
            try:
                self.mid_time = pd.to_datetime(matplotlib.dates.num2date(event.xdata)).tz_convert(None)
                self.update_plot()
            except:
                pass
        else:
            pass
def on_click ( self , event ) : if event . inaxes is not None : try : self . mid_time = pd . to_datetime ( matplotlib . dates . num2date ( event . xdata ) ) . tz_convert ( None ) self . update_plot ( ) except : pass else : pass
if you click the correct place, update the plot based on where you click
if you click the correct place update the plot based on where you click
'''if you click the correct place, update the plot based on where you click'''
self
event