コード例 #1
0
ファイル: jsrootmagic.py プロジェクト: geektoni/root
 def cell_jsroot(self, args):
     '''Change the visualisation of plots from images to interactive JavaScript objects.'''
     if args == 'on' or args == '':
        enableJSVis()
     elif args == 'off':
        disableJSVis()
     elif args == 'debug':
        enableJSVisDebug()
コード例 #2
0
ファイル: jsrootmagic.py プロジェクト: clarkm1811/root-1
 def jsroot(self, line):
     '''Change the visualisation of plots from images to interactive JavaScript objects.'''
     args = parse_argstring(self.jsroot, line)
     if args.arg == 'on':
         enableJSVis()
     elif args.arg == 'off':
         disableJSVis()
     elif args.arg == 'debug':
         enableJSVisDebug()
コード例 #3
0
ファイル: jsrootmagic.py プロジェクト: A2-Collaboration/root
 def jsroot(self, line):
     '''Change the visualisation of plots from images to interactive JavaScript objects.'''
     args = parse_argstring(self.jsroot, line)
     if args.arg == 'on':
        enableJSVis()
     elif args.arg == 'off':
        disableJSVis()
     elif args.arg == 'debug':
        enableJSVisDebug()
コード例 #4
0
ファイル: jsrootmagic.py プロジェクト: A2-Collaboration/root
 def line_jsroot(self, args):
     '''Change the visualisation of plots from images to interactive JavaScript objects.'''
     if args == 'on' or args == '':
        self.printErrorIfNeeded()
        enableJSVis()
     elif args == 'off':
        disableJSVis()
     elif args == 'debug':
        self.printErrorIfNeeded()
        enableJSVisDebug()
コード例 #5
0
ファイル: jsrootmagic.py プロジェクト: clarkm1811/root-1
 def line_jsroot(self, args):
     '''Change the visualisation of plots from images to interactive JavaScript objects.'''
     if args == 'on' or args == '':
         self.printErrorIfNeeded()
         enableJSVis()
     elif args == 'off':
         disableJSVis()
     elif args == 'debug':
         self.printErrorIfNeeded()
         enableJSVisDebug()