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

Function test_stem_orientation

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

Source from the content-addressed store, hash-verified

5079
5080@image_comparison(['stem_orientation.png'], style='mpl20', remove_text=True)
5081def test_stem_orientation():
5082 x = np.linspace(0.1, 2*np.pi, 50)
5083
5084 fig, ax = plt.subplots()
5085 ax.stem(x, np.cos(x),
5086 linefmt='C2-.', markerfmt='kx', basefmt='C1-.',
5087 orientation='horizontal')
5088
5089
5090def test_stem_polar_baseline():

Callers

nothing calls this directly

Calls 2

subplotsMethod · 0.45
stemMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…