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

Function test_inverted

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py:1592–1600  ·  view source on GitHub ↗
(fig_test, fig_ref)

Source from the content-addressed store, hash-verified

1590
1591@check_figures_equal()
1592def test_inverted(fig_test, fig_ref):
1593 # Plot then invert.
1594 ax = fig_test.add_subplot(projection="3d")
1595 ax.plot([1, 1, 10, 10], [1, 10, 10, 10], [1, 1, 1, 10])
1596 ax.invert_yaxis()
1597 # Invert then plot.
1598 ax = fig_ref.add_subplot(projection="3d")
1599 ax.invert_yaxis()
1600 ax.plot([1, 1, 10, 10], [1, 10, 10, 10], [1, 1, 1, 10])
1601
1602
1603def test_inverted_cla():

Callers

nothing calls this directly

Calls 3

add_subplotMethod · 0.80
invert_yaxisMethod · 0.80
plotMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…