(pcfunc)
| 1134 | |
| 1135 | |
| 1136 | def test_alpha_validation(pcfunc): |
| 1137 | # Most of the relevant testing is in test_artist and test_colors. |
| 1138 | fig, ax = plt.subplots() |
| 1139 | pc = getattr(ax, pcfunc)(np.arange(12).reshape((3, 4))) |
| 1140 | with pytest.raises(ValueError, match="^Data array shape"): |
| 1141 | pc.set_alpha([0.5, 0.6]) |
| 1142 | pc.update_scalarmappable() |
| 1143 | |
| 1144 | |
| 1145 | def test_legend_inverse_size_label_relationship(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…