(self)
| 3009 | plt.scatter([1, 2], [3, 4], c=[4, 5], **kwargs) |
| 3010 | |
| 3011 | def test_scatter_unfilled(self): |
| 3012 | coll = plt.scatter([0, 1, 2], [1, 3, 2], c=['0.1', '0.3', '0.5'], |
| 3013 | marker=mmarkers.MarkerStyle('o', fillstyle='none'), |
| 3014 | linewidths=[1.1, 1.2, 1.3]) |
| 3015 | assert coll.get_facecolors().shape == (0, 4) # no facecolors |
| 3016 | assert_array_equal(coll.get_edgecolors(), [[0.1, 0.1, 0.1, 1], |
| 3017 | [0.3, 0.3, 0.3, 1], |
| 3018 | [0.5, 0.5, 0.5, 1]]) |
| 3019 | assert_array_equal(coll.get_linewidths(), [1.1, 1.2, 1.3]) |
| 3020 | |
| 3021 | @mpl.style.context('default') |
| 3022 | def test_scatter_unfillable(self): |
nothing calls this directly
no test coverage detected