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

Function test_stairs_edge_handling

lib/matplotlib/tests/test_axes.py:2825–2833  ·  view source on GitHub ↗
(fig_test, fig_ref)

Source from the content-addressed store, hash-verified

2823
2824@check_figures_equal()
2825def test_stairs_edge_handling(fig_test, fig_ref):
2826 # Test
2827 test_ax = fig_test.add_subplot()
2828 test_ax.stairs([1, 2, 3], color='red', fill=True)
2829
2830 # Ref
2831 ref_ax = fig_ref.add_subplot()
2832 st = ref_ax.stairs([1, 2, 3], fill=True)
2833 st.set_color('red')
2834
2835
2836def contour_dat():

Callers

nothing calls this directly

Calls 3

add_subplotMethod · 0.80
stairsMethod · 0.80
set_colorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…