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

Function test_loglog

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

Source from the content-addressed store, hash-verified

7512
7513@image_comparison(["loglog.png"], remove_text=True, style='_classic_test', tol=0.02)
7514def test_loglog():
7515 fig, ax = plt.subplots()
7516 x = np.arange(1, 11)
7517 ax.loglog(x, x**3, lw=5)
7518 ax.tick_params(length=25, width=2)
7519 ax.tick_params(length=15, width=2, which='minor')
7520
7521
7522@image_comparison(["test_loglog_nonpos.png"], remove_text=True, style='mpl20',

Callers

nothing calls this directly

Calls 3

loglogMethod · 0.80
subplotsMethod · 0.45
tick_paramsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…