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

Function test_small_range_loglocator

lib/matplotlib/tests/test_ticker.py:1952–1957  ·  view source on GitHub ↗
(numticks, lims, ticks)

Source from the content-addressed store, hash-verified

1950])
1951@mpl.style.context('default')
1952def test_small_range_loglocator(numticks, lims, ticks):
1953 ll = mticker.LogLocator(numticks=numticks)
1954 if parse_version(np.version.version).major < 2:
1955 assert_allclose(ll.tick_values(*lims), ticks, rtol=2e-16)
1956 else:
1957 assert_array_equal(ll.tick_values(*lims), ticks)
1958
1959
1960@mpl.style.context('default')

Callers

nothing calls this directly

Calls 1

tick_valuesMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…