def loadExtensionsAndCapturers(): extNames = ["ROOTaaS.iPyROOT." + name for name in ["cppmagic"]] ip = get_ipython() extMgr = ExtensionManager(ip) for extName in extNames: extMgr.load_extension(extName) cppcompleter.load_ipython_extension(ip) for capture in captures: capture.register()
def loadMagicsCLA(): global captures extNames = ["JupyROOT.magics." + name for name in ["cutlangmagic"]] ip = get_ipython() extMgr = ExtensionManager(ip) for extName in extNames: extMgr.load_extension(extName) for capture in captures: capture.register()
def loadMagicsAndCapturers(): global captures extNames = ["JupyROOT.magics." + name for name in ["cppmagic","jsrootmagic"]] ip = get_ipython() extMgr = ExtensionManager(ip) for extName in extNames: extMgr.load_extension(extName) captures.append(StreamCapture()) captures.append(CaptureDrawnPrimitives()) for capture in captures: capture.register()
def loadExtensionsAndCapturers(): global captures extNames = ["JupyROOT.magics." + name for name in ["cppmagic"]] ip = get_ipython() extMgr = ExtensionManager(ip) for extName in extNames: extMgr.load_extension(extName) cppcompleter.load_ipython_extension(ip) captures.append(StreamCapture(sys.stderr)) captures.append(StreamCapture(sys.stdout)) captures.append(CaptureDrawnPrimitives()) for capture in captures: capture.register()
def loadExtensions(): ip = get_ipython() extMgr = ExtensionManager(ip) extMgr.load_extension("JsMVA.JsMVAMagic")