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

Function test_errorbar_mixed_units

lib/matplotlib/tests/test_units.py:186–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184
185
186def test_errorbar_mixed_units():
187 x = np.arange(10)
188 y = [datetime(2020, 5, i * 2 + 1) for i in x]
189 fig, ax = plt.subplots()
190 ax.errorbar(x, y, timedelta(days=0.5))
191 fig.canvas.draw()
192
193
194@check_figures_equal()

Callers

nothing calls this directly

Calls 3

subplotsMethod · 0.45
errorbarMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…