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

Function test_barb_units

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

Source from the content-addressed store, hash-verified

8014
8015
8016def test_barb_units():
8017 fig, ax = plt.subplots()
8018 dates = [datetime.datetime(2017, 7, 15, 18, i) for i in range(0, 60, 10)]
8019 y = np.linspace(0, 5, len(dates))
8020 u = v = np.linspace(0, 50, len(dates))
8021 ax.barbs(dates, y, u, v)
8022
8023
8024def test_quiver_units():

Callers

nothing calls this directly

Calls 2

barbsMethod · 0.80
subplotsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…