(fig_test, fig_ref)
| 755 | |
| 756 | @check_figures_equal() |
| 757 | def test_buffer_size(fig_test, fig_ref): |
| 758 | # On old versions of the Agg renderer, large non-ascii single-character |
| 759 | # strings (here, "€") would be rendered clipped because the rendering |
| 760 | # buffer would be set by the physical size of the smaller "a" character. |
| 761 | ax = fig_test.add_subplot() |
| 762 | ax.set_yticks([0, 1]) |
| 763 | ax.set_yticklabels(["€", "a"]) |
| 764 | ax.yaxis.majorTicks[1].label1.set_color("w") |
| 765 | ax = fig_ref.add_subplot() |
| 766 | ax.set_yticks([0, 1]) |
| 767 | ax.set_yticklabels(["€", ""]) |
| 768 | |
| 769 | |
| 770 | def test_fontproperties_kwarg_precedence(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…