()
| 10 | |
| 11 | |
| 12 | def test_colorcycle_basic(): |
| 13 | fig, ax = plt.subplots() |
| 14 | ax.set_prop_cycle(cycler('color', ['r', 'g', 'y'])) |
| 15 | for _ in range(4): |
| 16 | ax.plot(range(10), range(10)) |
| 17 | assert [l.get_color() for l in ax.lines] == ['r', 'g', 'y', 'r'] |
| 18 | |
| 19 | |
| 20 | def test_marker_cycle(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…