(size)
| 9170 | if size is not None] + [8, 10, 12]) |
| 9171 | @mpl.style.context('default') |
| 9172 | def test_relative_ticklabel_sizes(size): |
| 9173 | mpl.rcParams['xtick.labelsize'] = size |
| 9174 | mpl.rcParams['ytick.labelsize'] = size |
| 9175 | fig, ax = plt.subplots() |
| 9176 | fig.canvas.draw() |
| 9177 | |
| 9178 | for name, axis in zip(['x', 'y'], [ax.xaxis, ax.yaxis]): |
| 9179 | for tick in axis.get_major_ticks(): |
| 9180 | assert tick.label1.get_size() == axis._get_tick_label_size(name) |
| 9181 | |
| 9182 | |
| 9183 | def test_multiplot_autoscale(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…