(points)
| 712 | import numpy as np |
| 713 | |
| 714 | def showPlot(points): |
| 715 | plt.figure() |
| 716 | fig, ax = plt.subplots() |
| 717 | # this locator puts ticks at regular intervals |
| 718 | loc = ticker.MultipleLocator(base=0.2) |
| 719 | ax.yaxis.set_major_locator(loc) |
| 720 | plt.plot(points) |
| 721 | |
| 722 | |
| 723 | ###################################################################### |