()
| 321 | |
| 322 | |
| 323 | def test_arrowprops_copied(): |
| 324 | da = DrawingArea(20, 20, 0, 0, clip=True) |
| 325 | arrowprops = {"arrowstyle": "->", "relpos": (.3, .7)} |
| 326 | ab = AnnotationBbox(da, [.5, .5], xybox=(-0.2, 0.5), xycoords='data', |
| 327 | boxcoords="axes fraction", box_alignment=(0., .5), |
| 328 | arrowprops=arrowprops) |
| 329 | assert ab.arrowprops is not ab |
| 330 | assert arrowprops["relpos"] == (.3, .7) |
| 331 | |
| 332 | |
| 333 | @pytest.mark.parametrize("align", ["baseline", "bottom", "top", |
nothing calls this directly
no test coverage detected
searching dependent graphs…