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

Function test_axline_loglog

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

Source from the content-addressed store, hash-verified

5665
5666@check_figures_equal()
5667def test_axline_loglog(fig_test, fig_ref):
5668 ax = fig_test.subplots()
5669 ax.set(xlim=(0.1, 10), ylim=(1e-3, 1))
5670 ax.loglog([.3, .6], [.3, .6], ".-")
5671 ax.axline((1, 1e-3), (10, 1e-2), c="k")
5672
5673 ax = fig_ref.subplots()
5674 ax.set(xlim=(0.1, 10), ylim=(1e-3, 1))
5675 ax.loglog([.3, .6], [.3, .6], ".-")
5676 ax.loglog([1, 10], [1e-3, 1e-2], c="k")
5677
5678
5679@check_figures_equal()

Callers

nothing calls this directly

Calls 4

loglogMethod · 0.80
axlineMethod · 0.80
subplotsMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…