code: def nonechildren(lb):
      for child in lb.children:
          nonechildren(child)
      lb.artist._layoutbox = None
      lb = None
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import itertools
  import kiwisolver
  import logging
  import numpy
  import warnings
  import matplotlib
label_desc: Use image node_id 21 for calling a global function with example usage: nonechildren(lb) without return types