14 lines
281 B
Python
14 lines
281 B
Python
|
from matplotlib import pyplot as plt
|
||
|
|
||
|
|
||
|
def range4():
|
||
|
'''This is never be called if plot_directive works as expected.'''
|
||
|
raise NotImplementedError
|
||
|
|
||
|
|
||
|
def range6():
|
||
|
'''This is the function that should be executed.'''
|
||
|
plt.figure()
|
||
|
plt.plot(range(6))
|
||
|
plt.show()
|