def close(self):
        '''close the graph'''
        self.close_graph.set()
        if self.is_alive():
            self.child.join(2)
def close ( self ) : self . close_graph . set ( ) if self . is_alive ( ) : self . child . join ( 2 )
close the graph