()
| 7428 | |
| 7429 | |
| 7430 | def generate_errorbar_inputs(): |
| 7431 | base_xy = cycler('x', [np.arange(5)]) + cycler('y', [np.ones(5)]) |
| 7432 | err_cycler = cycler('err', [1, |
| 7433 | [1, 1, 1, 1, 1], |
| 7434 | [[1, 1, 1, 1, 1], |
| 7435 | [1, 1, 1, 1, 1]], |
| 7436 | np.ones(5), |
| 7437 | np.ones((2, 5)), |
| 7438 | None |
| 7439 | ]) |
| 7440 | xerr_cy = cycler('xerr', err_cycler) |
| 7441 | yerr_cy = cycler('yerr', err_cycler) |
| 7442 | |
| 7443 | empty = ((cycler('x', [[]]) + cycler('y', [[]])) * |
| 7444 | cycler('xerr', [[], None]) * cycler('yerr', [[], None])) |
| 7445 | xerr_only = base_xy * xerr_cy |
| 7446 | yerr_only = base_xy * yerr_cy |
| 7447 | both_err = base_xy * yerr_cy * xerr_cy |
| 7448 | |
| 7449 | return [*xerr_only, *yerr_only, *both_err, *empty] |
| 7450 | |
| 7451 | |
| 7452 | @pytest.mark.parametrize('kwargs', generate_errorbar_inputs()) |
nothing calls this directly
no test coverage detected
searching dependent graphs…