forked from marimo-team/marimo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import marimo | ||
|
||
__generated_with = "0.7.12" | ||
app = marimo.App(width="medium") | ||
|
||
|
||
@app.cell | ||
def __(): | ||
import marimo as mo | ||
import polars as pl | ||
import quak | ||
from vega_datasets import data | ||
return data, mo, pl, quak | ||
|
||
|
||
@app.cell | ||
def __(data): | ||
df = data.cars() | ||
return df, | ||
|
||
|
||
@app.cell | ||
def __(df, mo, quak): | ||
qwidget = quak.Widget(df) | ||
w = mo.ui.anywidget(qwidget) | ||
w | ||
return qwidget, w | ||
|
||
|
||
@app.cell | ||
def __(): | ||
# w.value | ||
return | ||
|
||
|
||
if __name__ == "__main__": | ||
app.run() |