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()
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()
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()