From d8d2d1b16cb94ff2906cb099058982e23c21088f Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 6 Oct 2025 11:59:54 +0200 Subject: [PATCH] Add first plot to quarto article --- notebooks/popcorn.py | 2 +- popcorn.qmd | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/notebooks/popcorn.py b/notebooks/popcorn.py index e3ee4ca..c0312c5 100644 --- a/notebooks/popcorn.py +++ b/notebooks/popcorn.py @@ -76,7 +76,7 @@ def _(): @app.cell -def _(sizes_df): +def plt_filesize(sizes_df): ( lp.ggplot(sizes_df, lp.aes(x="date", y="filesize_kb")) + lp.geom_point() diff --git a/popcorn.qmd b/popcorn.qmd index 7931d90..8f498a7 100644 --- a/popcorn.qmd +++ b/popcorn.qmd @@ -5,3 +5,17 @@ title: "Popcorn analysis" ## Quarto Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see . + +```{python} +from lets_plot import LetsPlot +LetsPlot.setup_html() +``` + +Testing plot + +```{python} +#| column: page +from notebooks.popcorn import plt_filesize +outp, defs = plt_filesize.run() +outp +```