Test the three-way plot.
(self)
| 29 | self.template = np.cos(self.idx) |
| 30 | |
| 31 | def test_plot_threeway(self): |
| 32 | """Test the three-way plot.""" |
| 33 | # Find the best match with the canonical recursion formula |
| 34 | alignment = dtw(self.query, self.template, keep_internals=True) |
| 35 | |
| 36 | # Display the warping curve, i.e. the alignment curve |
| 37 | alignment.plot(type="threeway") |
| 38 | |
| 39 | def test_plot_twoway(self): |
| 40 | """Test the two-way plot.""" |