(fig_test, fig_ref)
| 893 | |
| 894 | @check_figures_equal() |
| 895 | def test_errorbar_dashes(fig_test, fig_ref): |
| 896 | x = [1, 2, 3, 4] |
| 897 | y = np.sin(x) |
| 898 | |
| 899 | ax_ref = fig_ref.gca() |
| 900 | ax_test = fig_test.gca() |
| 901 | |
| 902 | line, *_ = ax_ref.errorbar(x, y, xerr=np.abs(y), yerr=np.abs(y)) |
| 903 | line.set_dashes([2, 2]) |
| 904 | |
| 905 | ax_test.errorbar(x, y, xerr=np.abs(y), yerr=np.abs(y), dashes=[2, 2]) |
| 906 | |
| 907 | |
| 908 | def test_errorbar_mapview_kwarg(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…