import com.twosigma.beakerx.widgets.integers.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.slider_color = "#087636"
w.step = 20
w.visible = true
//w.visible = false
import com.twosigma.beakerx.widgets.integers.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.widgets.Output
out = new Output()
OutputManager.setOutput(out)
out
for (i = 0; i <10; i++) {
println("Hello "+ i)
}
"result loop"
out.appendStdout("Hello 2")
out.appendStderr("Error 1")
out.clearOutput()
println("Hello 3")
OutputManager.setOutput(null)
println("Hello 6")
import com.twosigma.beakerx.widgets.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()