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