Releases: koaning/wigglystuff
Releases · koaning/wigglystuff
v0.2.20
v0.2.19
Added
- New
ChartSelectwidget for interactive region selection on matplotlib charts. Supports box and lasso (freehand) selection modes, returns selection coordinates in data space, and includes helper methods (get_mask(),get_indices(),get_bounds(),contains_point()) for filtering data points. Also supportsfrom_callback()factory for auto-updating charts.
v0.2.18
v0.2.17
Changed
- Breaking:
ChartPuck.from_callbacknow passes the widget to the draw function instead of scalar coordinates. The signature changed fromdraw_fn(ax, x, y)todraw_fn(ax, widget), giving access to all puck positions viawidget.xandwidget.ylists.
Added
- New
redraw()method onChartPuckfor manually triggering chart re-renders when external state changes (e.g., dropdown selections). Only available for widgets created viafrom_callback(). - Added Step, Nearest, Quadratic, and Barycentric interpolation methods to the ChartPuck spline demo.
v0.2.15
Added
- Playwright browser integration tests for
SortableListwidget, verifying full browser-to-Python round-trip communication. Tests cover rendering, adding/removing/editing items, and Python state synchronization. - New
test-browseroptional dependency group and CI workflow for running browser tests with marimo.
Removed
- Removed unused
pydantic-aidependency that was pulling inopenaiand breaking WASM demos.
v0.2.14
Fixed
EnvConfignow displays values in input fields even when validation fails, so users can see what was loaded or entered rather than an empty field.- Removed footer color changes in
EnvConfig. Individual row highlighting (green/red) is now the sole status indicator, making the UI more consistent.
0.2.13
Added
- New
EnvConfigwidget for environment variable configuration with validation. Displays a form UI for setting API keys with password-style masking, optional validator callbacks, and arequire_valid()method to block execution until all variables are configured.
0.2.12
Added
- New
TextComparewidget for side-by-side text comparison with match highlighting. Useful for plagiarism detection or finding shared passages between documents. Features hover-based highlighting that syncs between panels, configurable minimum match length viamin_match_words, and programmatic access to detected matches.
0.2.11
Added
- New
PulsarChartwidget for stacked waveform visualization, inspired by the iconic PSR B1919+21 pulsar visualization from Joy Division's "Unknown Pleasures" album cover. Features include clickable rows with selection state synced back to Python, customizable overlap, stroke width, fill opacity, and peak scale.