()
| 1436 | |
| 1437 | |
| 1438 | def test_handlerline2d(): |
| 1439 | # Test marker consistency for monolithic Line2D legend handler (#11357). |
| 1440 | fig, ax = plt.subplots() |
| 1441 | ax.scatter([0, 1], [0, 1], marker="v") |
| 1442 | handles = [mlines.Line2D([0], [0], marker="v")] |
| 1443 | leg = ax.legend(handles, ["Aardvark"], numpoints=1) |
| 1444 | assert handles[0].get_marker() == leg.legend_handles[0].get_marker() |
| 1445 | |
| 1446 | |
| 1447 | def test_subfigure_legend(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…