import com.twosigma.beakerx.widget.IntSlider w = new IntSlider() w.value = 60 w w.value w.value =76 w.description = "desc1" w.disabled = false w.max = 200 w.min = 50 w.orientation = "horizontal" //w.orientation = "vertical" w.step = 20 w.visible = true //w.visible = false import com.twosigma.beakerx.widget.IntProgress bar = new IntProgress() bar.value = 10 bar bar.value bar.value =110 bar.max = 300 bar.min = 50 bar.step = 20 bar.orientation = "horizontal" //bar.orientation = "vertical" import com.twosigma.beakerx.widget.Output out = new Output() OutputManager.setOutput(new Output()) out for (i = 0; i <10; i++) { println("Hello "+ i) } "result loop" out.appendStdout("Hello 2") out.appendStderr("Error 1") System.err.println("Error 2"); out.clearOutput() println("Hello 3") import com.twosigma.beakerx.widget.IntSlider out.display(new IntSlider()) OutputManager.setOutput(null) println("Hello 6") import com.twosigma.beakerx.widget.Output OutputManager.setStandardOutput(new Output()) println("Hello only stdout") System.err.println("Error for onlyOut"); OutputManager.clear() OutputManager.setStandardOutput(null) import com.twosigma.beakerx.widget.Output OutputManager.setStandardError(new Output()) println("Hello only stderr") System.err.println("Error for onlyErr"); OutputManager.setStandardError(null) import com.twosigma.beakerx.widget.Output out2 = new Output() OutputManager.setOutput(out2) out2 println("before") out2.display(YoutubeVideo("gSVvxOchT8Y")) println("inside") out2.display(SVG("https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/car.svg")) println("after") "done" out2.display(YoutubeVideo("gSVvxOchT8Y")) out2.clearOutput() OutputManager.setOutput(null)