()
| 83 | |
| 84 | |
| 85 | def test_property_collision_plot(): |
| 86 | fig, ax = plt.subplots() |
| 87 | ax.set_prop_cycle('linewidth', [2, 4]) |
| 88 | t = range(10) |
| 89 | for c in range(1, 4): |
| 90 | ax.plot(t, t, lw=0.1) |
| 91 | ax.plot(t, t) |
| 92 | ax.plot(t, t) |
| 93 | assert [l.get_linewidth() for l in ax.lines] == [0.1, 0.1, 0.1, 2, 4] |
| 94 | |
| 95 | |
| 96 | def test_property_collision_fill(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…