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

Function test_vlines_default

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

Source from the content-addressed store, hash-verified

5797
5798
5799def test_vlines_default():
5800 fig, ax = plt.subplots()
5801 with mpl.rc_context({'lines.color': 'red'}):
5802 lines = ax.vlines(0.5, 0, 1)
5803 assert mpl.colors.same_color(lines.get_color(), 'red')
5804
5805
5806@image_comparison(['hlines_basic.png', 'hlines_with_nan.png', 'hlines_masked.png'],

Callers

nothing calls this directly

Calls 3

vlinesMethod · 0.80
subplotsMethod · 0.45
get_colorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…