Plot Example (Groovy) - Beakerx Typing CST Test
Loading…
Plot Example (Groovy) — Beakerx Code
A simple BeakerX line plot using Groovy.
import com.twosigma.beakerx.chart.xychart.Plot
import com.twosigma.beakerx.chart.xychart.plotitem.Line
p = new Plot()
line = new Line()
line.x = [1, 2, 3, 4]
line.y = [10, 20, 25, 30]
p.add(line)
pBeakerx Language Guide
BeakerX is an extension of Jupyter notebooks that provides polyglot programming, interactive widgets, and advanced plotting capabilities. It allows users to write notebooks in multiple languages, mix code in different languages, and visualize complex data interactively.
Primary Use Cases
- ▸Teaching and learning multiple programming languages
- ▸Polyglot data analysis and experimentation
- ▸Creating interactive visualizations and widgets
- ▸Exploring JVM and Python ecosystems within a single notebook
- ▸Prototyping algorithms and educational demonstrations
Notable Features
- ▸Polyglot notebook support (Python, Java, Kotlin, Groovy, Scala)
- ▸Interactive tables, charts, and plotting libraries
- ▸Advanced cell magics for data exploration
- ▸Widgets for user interaction in notebooks
- ▸Integration with Jupyter kernels and notebook ecosystem
Origin & Creator
BeakerX is developed by the BeakerX team at 2015 as an open-source project to extend the capabilities of Jupyter notebooks, focusing on polyglot programming and interactive data analysis.
Industrial Note
Primarily used by data scientists, educators, and researchers who need multi-language support, advanced visualizations, or interactive notebook features. Not intended as a standalone production deployment platform.