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

Function test_generate_normals

lib/mpl_toolkits/mplot3d/tests/test_art3d.py:111–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

109
110
111def test_generate_normals():
112 # Smoke test for https://github.com/matplotlib/matplotlib/issues/29156
113 vertices = ((0, 0, 0), (0, 5, 0), (5, 5, 0), (5, 0, 0))
114 shape = Poly3DCollection([vertices], edgecolors='r', shade=True)
115
116 fig = plt.figure()
117 ax = fig.add_subplot(projection='3d')
118 ax.add_collection3d(shape)
119 plt.draw()

Callers

nothing calls this directly

Calls 5

Poly3DCollectionClass · 0.90
figureMethod · 0.80
add_subplotMethod · 0.80
add_collection3dMethod · 0.80
drawMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…