(d, xlab="Query index", ylab="Reference index", **kwargs)
| 77 | |
| 78 | |
| 79 | def dtwPlotAlignment(d, xlab="Query index", ylab="Reference index", **kwargs): |
| 80 | import matplotlib.pyplot as plt |
| 81 | fig, ax = plt.subplots(figsize=(6, 6)) |
| 82 | |
| 83 | ax.plot(d.index1, d.index2, **kwargs) |
| 84 | ax.set_xlabel(xlab) |
| 85 | ax.set_ylabel(ylab) |
| 86 | |
| 87 | return ax |
| 88 | |
| 89 | |
| 90 | def dtwPlotTwoWay(d, xts=None, yts=None, |