()
| 2783 | |
| 2784 | |
| 2785 | def test_stairs_invalid_update2(): |
| 2786 | h = plt.stairs([1, 2], [0, 1, 2]) |
| 2787 | with pytest.raises(ValueError, match='Size mismatch'): |
| 2788 | h.set_data(edges=np.arange(5)) |
| 2789 | |
| 2790 | |
| 2791 | @image_comparison(['test_stairs_options.png'], style='mpl20', remove_text=True) |