range6.py 281 B

12345678910111213
  1. from matplotlib import pyplot as plt
  2. def range4():
  3. '''This is never be called if plot_directive works as expected.'''
  4. raise NotImplementedError
  5. def range6():
  6. '''This is the function that should be executed.'''
  7. plt.figure()
  8. plt.plot(range(6))
  9. plt.show()