Note
Go to the end to download the full example code. or to run this example in your browser via Binder
Basic numerics and plotting with Python¶
try:
import matplotlib.pyplot as plt
except ImportError:
raise RuntimeError("This script needs the matplotlib library")
A simple example of basic Python numerics and how to plot it.

[<matplotlib.lines.Line2D object at 0x7fa9c2c8c9d0>]
Total running time of the script: (0 minutes 0.321 seconds)
Estimated memory usage: 108 MB