pymc
pymc copied to clipboard
Add marimo progress bar for pymc sampler
Description
The rich progress bars don't work well in marimo notebooks. Here is a basic implementation using their progress bar component to
track the pymc sampler.
An implementation note: tasks being attached to the progress bar and progress bar manager is a bit confusing, but I tried to keep as lean as possible to get to work.
https://github.com/user-attachments/assets/04607b16-70a0-4e1b-9692-3bda981934ab
Related Issue
- [ ] Closes #
- [ ] Related to #
Checklist
- [ ] Checked that the pre-commit linting/style checks pass
- [ ] Included tests that prove the fix is effective or that the new feature works
- [ ] Added necessary documentation (docstrings and/or example notebooks)
- [ ] If you are a pro: each commit corresponds to a relevant logical change
Type of change
- [ ] New feature / enhancement
- [ ] Bug fix
- [ ] Documentation
- [ ] Maintenance
- [ ] Other (please specify):
📚 Documentation preview 📚: https://pymc--7883.org.readthedocs.build/en/7883/