Searched refs:ns (Results 1 – 2 of 2) sorted by relevance
1252 def dictify(ns): argument1253 if hasattr(ns, 'subplots'):1254 ns.subplots = [(dir, dictify(subplot_ns))1255 for dir, subplot_ns in ns.subplots]1256 if ns.subplot is not None:1257 ns.subplot = dictify(ns.subplot)1259 for k, v in vars(ns).items()
1582 def dictify(ns): argument1583 if hasattr(ns, 'subplots'):1584 ns.subplots = [(dir, dictify(subplot_ns))1585 for dir, subplot_ns in ns.subplots]1586 if ns.subplot is not None:1587 ns.subplot = dictify(ns.subplot)1589 for k, v in vars(ns).items()