Code
import numpy as np
import plotly.express as psQuarto is a powerful tool to prepare reports with built-in source code and plots. In particular, it can be used with R and Python codes. In my case, support of Jupyter Notebooks is appreciated since they can contain Markdown cells by default.
import numpy as np
import plotly.express as psPrepare some a random stuff for plotting
x = np.linspace(0,10,11)
y = np.random.random(11)
data = {'counts': x, 'measurements': y}ps.line(data, x='counts', y='measurements')