Skip to content

Remove the Jupyter widget#47

Merged
scottstanie merged 1 commit intoopera-adt:mainfrom
scottstanie:chore/remove-jupyter-widget
Apr 24, 2026
Merged

Remove the Jupyter widget#47
scottstanie merged 1 commit intoopera-adt:mainfrom
scottstanie:chore/remove-jupyter-widget

Conversation

@scottstanie
Copy link
Copy Markdown
Collaborator

Summary

The _widget.py ipywidgets/ipyleaflet viewer was an early experiment that never reached parity with the main web UI and has been drifting further behind. It predates the React frontend, the GeoZarr data model, reference-point tracking, profile/measurement tools, and the time-series chart — none of which it supports.

Cheaper to reimplement on top of the current API surface if anyone ever asks for it again than to drag the current one forward.

Removed

  • src/bowser/_widget.py (329 lines)
  • docs/example_widget_usage.ipynb
  • [project.optional-dependencies].widget — drops jupyter, matplotlib, ipympl, ipywidgets, ipyleaflet, bqplot, requests as optional deps
  • [tool.pixi.environments].widget — pixi env no longer solved
  • ## Running in Jupyter section of the README

Test plan

  • bowser --help still renders; full command list intact
  • grep -r _widget src/bowser/ tests/ docs/ returns nothing
  • pre-commit (ruff / ruff-format / mypy) passes

🤖 Generated with Claude Code

The ipywidgets/ipyleaflet-based viewer was an early experiment and
never reached parity with the main web UI. It's been drifting further
behind with every UI change (still uses the pre-React frontend
assumptions, pre-GeoZarr data model, no time-series chart, no
reference-point support, none of the recent toolbar/profile work).

Cheaper to reimplement on top of the current API surface than to
bring the existing widget up to date.

### Removed

- `src/bowser/_widget.py` (329 lines)
- `docs/example_widget_usage.ipynb`
- `[project.optional-dependencies].widget` — drops `jupyter`,
  `matplotlib`, `ipympl`, `ipywidgets`, `ipyleaflet`, `bqplot`,
  `requests` as optional deps
- `[tool.pixi.environments].widget` — pixi env no longer solved
- `## Running in Jupyter` section of the README

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@scottstanie scottstanie merged commit 9ec7ac2 into opera-adt:main Apr 24, 2026
0 of 2 checks passed
@scottstanie scottstanie deleted the chore/remove-jupyter-widget branch April 24, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant