
# simpleFigAx.py

import matplotlib.pyplot as plt

fig, ax = plt.subplots()
xs = [2, 4, 6, 8] 
ys = [3, 5, 7, 9] 
ax.plot(xs, ys)
ax.set_title('Simple plot')
plt.show()
