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

Function test_log_scales_no_data

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

Source from the content-addressed store, hash-verified

3426
3427
3428def test_log_scales_no_data():
3429 _, ax = plt.subplots()
3430 ax.set(xscale="log", yscale="log")
3431 ax.xaxis.set_major_locator(mticker.MultipleLocator(1))
3432 assert ax.get_xlim() == ax.get_ylim() == (1, 10)
3433
3434
3435def test_log_scales_invalid():

Callers

nothing calls this directly

Calls 5

subplotsMethod · 0.45
setMethod · 0.45
set_major_locatorMethod · 0.45
get_xlimMethod · 0.45
get_ylimMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…