()
| 313 | |
| 314 | |
| 315 | def test_no_offsets_datalim(): |
| 316 | # A collection with no offsets and a non transData |
| 317 | # transform should return a null bbox |
| 318 | ax = plt.axes() |
| 319 | coll = mcollections.PathCollection([mpath.Path([(0, 0), (1, 0)])]) |
| 320 | ax.add_collection(coll) |
| 321 | coll_data_lim = coll.get_datalim(mtransforms.IdentityTransform()) |
| 322 | assert_array_equal(coll_data_lim.get_points(), |
| 323 | mtransforms.Bbox.null().get_points()) |
| 324 | |
| 325 | |
| 326 | def test_add_collection(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…