Introduced when fixing issue #6412.
(data, orientation)
| 5572 | @pytest.mark.parametrize('data', [[[]], [[], [0, 1]], [[0, 1], []]]) |
| 5573 | @pytest.mark.parametrize('orientation', [None, 'vertical', 'horizontal']) |
| 5574 | def test_eventplot_orientation(data, orientation): |
| 5575 | """Introduced when fixing issue #6412.""" |
| 5576 | opts = {} if orientation is None else {'orientation': orientation} |
| 5577 | fig, ax = plt.subplots(1, 1) |
| 5578 | ax.eventplot(data, **opts) |
| 5579 | plt.draw() |
| 5580 | |
| 5581 | |
| 5582 | @check_figures_equal() |