In [1]:
import com.twosigma.beaker.jvm.object.OutputCell

new Plot().add(new Line(x: [0, 1, 2, 3, 4, 5], y: [0, 1, 6, 5, 2, 8]))
new Plot().add(new Line(x: (0..5), y: [0, 1, 6, 5, 2, 8]))
new Plot() << new Line(x: (0..5), y: [0, 1, 6, 5, 2, 8])
OutputCell.HIDDEN
In [4]:
import com.twosigma.beaker.jvm.object.OutputCell

x =10
OutputCell.HIDDEN
In [ ]: