View or edit on GitHub
This page is synchronized from doc/Quarto.md. Last modified on 2025-12-09 00:30 CET by Trase Admin.
Please view or edit the original file there; changes should be reflected here after a midnight build (CET time),
or manually triggering it with a GitHub action (link).
Quarto
Here is some boilerplate for using Quarto with Python
---
title: "My analysis"
jupyter: python3
format: gfm
execute:
echo: false
---
Here is a plot:
```{python}
import plotly.io as pio
import plotly.express as px
pio.renderers.default = "png"
fig = px.bar(x=["a", "b", "c"], y=[1, 3, 2])
fig.show()
```
Save the file as my_analysis.qmd.
Here are some useful commands:
# live preview
quarto preview my_analysis.qmd
# render to a markdown file
quarto render my_analysis.qmd