Overview
Scripton includes a Python library that can be used for tasks like plotting, visualizing images and matrices, drawing, and creating interactive user interfaces.
Here's a quick example:
The scripton
library is automatically available to your Python code when executing from the Scripton IDE — no installation needed.
Toolkits
Scripton's Python library is made up of a collection of toolkits. For instance, the lyra
toolkit used in the example above provides powerful plotting features. You can expect this collection of toolkits to grow and refine over time. The current collection includes —
Show: A handy function for quickly displaying images and colormapped matrices.
Canvas: 2D immediate mode graphics library
Lyra: A plotting library based on the Plotly JavaScript library
Orion: Plotting library (powered by the Observable Plot JavaScript library under the hood)
UI: For interactive user interfaces.