()
| 1376 | |
| 1377 | |
| 1378 | def test_subfigure_tightbbox(): |
| 1379 | # test that we can get the tightbbox with a subfigure... |
| 1380 | fig = plt.figure(layout='constrained') |
| 1381 | sub = fig.subfigures(1, 2) |
| 1382 | |
| 1383 | np.testing.assert_allclose( |
| 1384 | fig.get_tightbbox(fig.canvas.get_renderer()).width, |
| 1385 | 8.0) |
| 1386 | |
| 1387 | |
| 1388 | def test_subfigure_dpi(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…