()
| 7915 | |
| 7916 | |
| 7917 | def test_title_xticks_top(): |
| 7918 | # Test that title moves if xticks on top of axes. |
| 7919 | mpl.rcParams['axes.titley'] = None |
| 7920 | fig, ax = plt.subplots() |
| 7921 | ax.xaxis.set_ticks_position('top') |
| 7922 | ax.set_title('xlabel top') |
| 7923 | fig.canvas.draw() |
| 7924 | assert ax.title.get_position()[1] > 1.04 |
| 7925 | |
| 7926 | |
| 7927 | def test_title_xticks_top_both(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…