()
| 4710 | |
| 4711 | |
| 4712 | def test_errorbar_nonefmt(): |
| 4713 | # Check that passing 'none' as a format still plots errorbars |
| 4714 | x = np.arange(5) |
| 4715 | y = np.arange(5) |
| 4716 | |
| 4717 | plotline, _, barlines = plt.errorbar(x, y, xerr=1, yerr=1, fmt='none') |
| 4718 | assert plotline is None |
| 4719 | for errbar in barlines: |
| 4720 | assert np.all(errbar.get_color() == mcolors.to_rgba('C0')) |
| 4721 | |
| 4722 | |
| 4723 | def test_errorbar_remove(): |