MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_errorbar_nonefmt

Function test_errorbar_nonefmt

lib/matplotlib/tests/test_axes.py:4712–4720  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4710
4711
4712def 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
4723def test_errorbar_remove():

Callers

nothing calls this directly

Calls 3

errorbarMethod · 0.45
get_colorMethod · 0.45
to_rgbaMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…