A simple exampleΒΆ

../../_images/sphx_glr_plot_simple_001.png
import numpy as np
import matplotlib.pyplot as plt
X = np.linspace(-np.pi, np.pi, 100)
Y = np.sin(X)
plt.plot(X, Y, linewidth=2)
plt.show()

Total running time of the script: ( 0 minutes 0.012 seconds)

Gallery generated by Sphinx-Gallery