Beispiel #1
0
 def namespace(self, **kwargs):
     from openalea.core.service.ipython import interpreter
     project_ns = ParadigmController.namespace(self, **kwargs)
     interp = interpreter()
     shell_ns = interp.user_ns
     ns = {}
     ns.update(shell_ns)
     ns.update(project_ns)
     return ns
Beispiel #2
0
    def init(self, *args, **kwargs):
        # todo : register plotter
        if not VIEWER3D_SET:
            _set_viewer3d()

        return ParadigmController.init(self, *args, **kwargs)