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

Function test_plot_3d_from_2d

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py:593–599  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

591
592@mpl3d_image_comparison(['plot_3d_from_2d.png'], tol=0.019, style='mpl20')
593def test_plot_3d_from_2d():
594 fig = plt.figure()
595 ax = fig.add_subplot(projection='3d')
596 xs = np.arange(0, 5)
597 ys = np.arange(5, 10)
598 ax.plot(xs, ys, zs=0, zdir='x')
599 ax.plot(xs, ys, zs=0, zdir='y')
600
601
602@mpl3d_image_comparison(['fill_between_quad.png'], style='mpl20')

Callers

nothing calls this directly

Calls 3

figureMethod · 0.80
add_subplotMethod · 0.80
plotMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…