blob: 1331a20c1c3edcfd4bb10df1050606eefc0cc9b2 [file] [log] [blame]
Philipp Schrader7520ee62022-12-10 14:04:40 -08001# This is the introductory example from
2# https://matplotlib.org/stable/tutorials/introductory/pyplot.html
3
4import matplotlib
5import matplotlib.pyplot as plt
6
7# Set up the gtk backend before running matplotlib.
8matplotlib.use("GTK3Agg")
9
10plt.plot([1, 2, 3, 4])
11plt.ylabel("some numbers")
12plt.show()