2  Example page

On this page, we set two options directly in the Quarto document. The rest of the options are coming from the _quarto.yml project file. These options are considered “global”.

Let’s do a quick multi-cell example where we generate data and, then, create a graph. We’ll use a modification of the matplotlib simple_plot example.

First, let’s generate some data.

Next, let’s retrieve the t and s variables and create a graph using matplotlib.

Important

You must include a plt.show() call to have the graph be shown.