You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
281 B
Python
14 lines
281 B
Python
5 years ago
|
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()
|