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

Function test_polycollection_joinstyle

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

Source from the content-addressed store, hash-verified

1269
1270@image_comparison(['polycollection_joinstyle'], remove_text=True, style='_classic_test')
1271def test_polycollection_joinstyle():
1272 # Bug #2890979 reported by Matthew West
1273 fig, ax = plt.subplots()
1274 verts = np.array([[1, 1], [1, 2], [2, 2], [2, 1]])
1275 c = mpl.collections.PolyCollection([verts], linewidths=40)
1276 ax.add_collection(c)
1277 ax.set_xbound(0, 3)
1278 ax.set_ybound(0, 3)
1279
1280
1281@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 4

add_collectionMethod · 0.80
subplotsMethod · 0.45
set_xboundMethod · 0.45
set_yboundMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…