Add first plot to quarto article
This commit is contained in:
parent
cccc2f6bd4
commit
d8d2d1b16c
2 changed files with 15 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ def _():
|
||||||
|
|
||||||
|
|
||||||
@app.cell
|
@app.cell
|
||||||
def _(sizes_df):
|
def plt_filesize(sizes_df):
|
||||||
(
|
(
|
||||||
lp.ggplot(sizes_df, lp.aes(x="date", y="filesize_kb"))
|
lp.ggplot(sizes_df, lp.aes(x="date", y="filesize_kb"))
|
||||||
+ lp.geom_point()
|
+ lp.geom_point()
|
||||||
|
|
|
||||||
14
popcorn.qmd
14
popcorn.qmd
|
|
@ -5,3 +5,17 @@ title: "Popcorn analysis"
|
||||||
## Quarto
|
## Quarto
|
||||||
|
|
||||||
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see <https://quarto.org>.
|
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see <https://quarto.org>.
|
||||||
|
|
||||||
|
```{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
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue