(self)
| 755 | |
| 756 | @mpl.style.context("default") |
| 757 | def test_step(self): |
| 758 | mpl.rcParams["date.converter"] = "concise" |
| 759 | N = 6 |
| 760 | fig, (ax1, ax2, ax3) = plt.subplots(3, 1, layout='constrained') |
| 761 | x = np.array([datetime.datetime(2023, 9, n) for n in range(1, N)]) |
| 762 | ax1.step(x, range(1, N)) |
| 763 | ax2.step(range(1, N), x) |
| 764 | ax3.step(x, x) |
| 765 | |
| 766 | @pytest.mark.xfail(reason="Test for streamplot not written yet") |
| 767 | @mpl.style.context("default") |