示例#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()
示例#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()
示例#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()
示例#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()
示例#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()