import numpy as np
import matplotlib.pyplot as plt
Example of jupyter notebook for Quarto
1) Import packages
2) Plotting
We plot below (Figure 1) the histogram of 1000 samples from a normal distribution.
= np.random.normal(size=1000)
x =(10, 6))
plt.figure(figsize=True, bins=30)
plt.hist(x, density'Probability')
plt.ylabel('X')
plt.xlabel( plt.show()