()
| 94 | |
| 95 | |
| 96 | def test_property_collision_fill(): |
| 97 | fig, ax = plt.subplots() |
| 98 | ax.set_prop_cycle(linewidth=[2, 3, 4, 5, 6], facecolor='bgcmy') |
| 99 | t = range(10) |
| 100 | for c in range(1, 4): |
| 101 | ax.fill(t, t, lw=0.1) |
| 102 | ax.fill(t, t) |
| 103 | ax.fill(t, t) |
| 104 | assert ([p.get_facecolor() for p in ax.patches] |
| 105 | == [mpl.colors.to_rgba(c) for c in 'bgcmy']) |
| 106 | assert [p.get_linewidth() for p in ax.patches] == [0.1, 0.1, 0.1, 5, 6] |
| 107 | |
| 108 | |
| 109 | def test_valid_input_forms(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…