()
| 7979 | |
| 7980 | |
| 7981 | def test_title_inset_ax(): |
| 7982 | # Title should be above any child axes |
| 7983 | mpl.rcParams['axes.titley'] = None |
| 7984 | fig, ax = plt.subplots() |
| 7985 | ax.set_title('Title') |
| 7986 | fig.draw_without_rendering() |
| 7987 | assert ax.title.get_position()[1] == 1 |
| 7988 | ax.inset_axes([0, 1, 1, 0.1]) |
| 7989 | fig.draw_without_rendering() |
| 7990 | assert ax.title.get_position()[1] == 1.1 |
| 7991 | |
| 7992 | |
| 7993 | def test_offset_label_color(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…