code: def _none2dict(kwarg):
      if kwarg is None:
          return {}
      else:
          return kwarg
  
imports: import matplotlib.pyplot
  import numpy
  import seaborn
label_desc: Use image node_id 1 for calling a global function with example usage: _none2dict(kwarg) and returns: dict, kwarg