Esempio n. 1
0
 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()
Esempio n. 2
0
 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()
Esempio n. 3
0
 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()
Esempio n. 4
0
 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()
Esempio n. 5
0
 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()