- numpy - matplotlib
--> --> --> --> --> --> --> --> -->

Let's plot random numbers using MATPLOTLIB

pyscript.write('loading-indicator', '') import matplotlib.pyplot as plt import numpy as np x = np.random.randn(1000) y = np.random.randn(1000) plt.style.use('dark_background') fig, ax = plt.subplots() ax.scatter(x, y, c="orange") pyscript.write('plot', fig)