File size: 383 Bytes
714e7c4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | from matplotlib import pyplot as plt
def range4():
"""Never called if plot_directive works as expected."""
raise NotImplementedError
def range6():
"""The function that should be executed."""
plt.figure()
plt.plot(range(6))
plt.show()
def range10():
"""The function that should be executed."""
plt.figure()
plt.plot(range(10))
plt.show()
|