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

Method test_fallback

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

Source from the content-addressed store, hash-verified

730 assert_almost_equal(lctr.tick_values(-1.1, 0.9), [-1.0, 0.0, 0.9])
731
732 def test_fallback(self):
733 lctr = mticker.AsinhLocator(1.0, numticks=11)
734
735 assert_almost_equal(lctr.tick_values(101, 102),
736 np.arange(101, 102.01, 0.1))
737
738 def test_symmetrizing(self):
739 lctr = mticker.AsinhLocator(linear_width=1, numticks=3,

Callers

nothing calls this directly

Calls 1

tick_valuesMethod · 0.95

Tested by

no test coverage detected