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

Method test_minor_attr

lib/matplotlib/tests/test_ticker.py:536–542  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

534 sorted([*major_ticks, *minor_ticks]), expected_ticks)
535
536 def test_minor_attr(self):
537 loc = mticker.LogitLocator(nbins=100)
538 assert not loc.minor
539 loc.minor = True
540 assert loc.minor
541 loc.set_params(minor=False)
542 assert not loc.minor
543
544 acceptable_vmin_vmax = [
545 *(2.5 ** np.arange(-3, 0)),

Callers

nothing calls this directly

Calls 1

set_paramsMethod · 0.95

Tested by

no test coverage detected