What renders
Everything renders without loading anything from the internet.
Alkera charts
alkera.chart is a declarative chart library. Pass it a dataframe, pick a mark, and map columns to channels.
line, bar, area, point, histogram, heatmap, pie, and boxplot. Add .tooltip() and .zoom() for interaction. alkera.chart also accepts Altair charts and Vega-Lite specs.
Prefer another library? Matplotlib, seaborn, Plotly, and Altair figures render natively. Return the figure as the cell’s last expression.
Layout and display
Thealkera module has helpers for richer outputs:
alkera.md(...)andalkera.html(...)render Markdown and HTML.alkera.image(...)shows an image.alkera.hstack(...)andalkera.vstack(...)arrange outputs side by side or stacked.alkera.callout(...)highlights a note or warning.alkera.status.progress_bar(...)andalkera.status.spinner(...)show progress while a cell runs.
Widgets
Widgets are inputs that drive reactivity. Assign a widget to a variable in one cell, read its.value in another, and that cell re-runs whenever the widget changes.
slider, number, text, text_area, checkbox, switch, dropdown, radio, multiselect, date, button, and run_button.
ipywidgets and anywidget work too. Wrap one in alkera.widget(...) to make it reactive.
Use
alkera.ui rather than mo.ui. marimo’s widgets are not available in Alkera notebooks.Work with an output
A cell’s ⋯ menu has Clear output, Collapse output, Open output in a new tab, Download image, and Copy cell link. Outputs are saved with the notebook, so they show when you reopen it or preview it in Files. A saved output from an earlier session is marked Not run in this kernel until you run the cell again.Related
Reactivity
How widgets and changes flow through the notebook.
Dashboards
Coming soon: share outputs as an interactive dashboard.