(fig_test, fig_ref)
| 1141 | |
| 1142 | @check_figures_equal() |
| 1143 | def test_radio_buttons(fig_test, fig_ref): |
| 1144 | widgets.RadioButtons(fig_test.subplots(), ["tea", "coffee"]) |
| 1145 | ax = fig_ref.add_subplot(xticks=[], yticks=[]) |
| 1146 | ax.scatter([.15, .15], [2/3, 1/3], transform=ax.transAxes, |
| 1147 | s=(plt.rcParams["font.size"] / 2) ** 2, c=["C0", "none"]) |
| 1148 | ax.text(.25, 2/3, "tea", transform=ax.transAxes, va="center") |
| 1149 | ax.text(.25, 1/3, "coffee", transform=ax.transAxes, va="center") |
| 1150 | |
| 1151 | |
| 1152 | @check_figures_equal() |
nothing calls this directly
no test coverage detected
searching dependent graphs…