Created
December 2, 2025 13:37
-
-
Save koaning/fc592f57e412817842ac0096bc3d666a to your computer and use it in GitHub Desktop.
demodemo.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /// script | |
| # dependencies = [ | |
| # "marimo>=0.17.0", | |
| # "polars", | |
| # "pyzmq", | |
| # ] | |
| # /// | |
| import marimo | |
| __generated_with = "0.18.1" | |
| app = marimo.App(width="medium") | |
| @app.cell | |
| def _(): | |
| import marimo as mo | |
| return (mo,) | |
| @app.cell | |
| def _(mo): | |
| slider = mo.ui.slider(1, 10, 1) | |
| slider | |
| return (slider,) | |
| @app.cell | |
| def _(slider): | |
| slider.value | |
| return | |
| @app.cell | |
| def _(): | |
| return | |
| if __name__ == "__main__": | |
| app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment