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

Method test_basic

lib/matplotlib/tests/test_ticker.py:33–35  ·  view source on GitHub ↗
(self, vmin, vmax, expected)

Source from the content-addressed store, hash-verified

31
32 @pytest.mark.parametrize('vmin, vmax, expected', basic_data)
33 def test_basic(self, vmin, vmax, expected):
34 loc = mticker.MaxNLocator(nbins=5)
35 assert_almost_equal(loc.tick_values(vmin, vmax), expected)
36
37 @pytest.mark.parametrize('vmin, vmax, steps, expected', integer_data)
38 def test_integer(self, vmin, vmax, steps, expected):

Callers

nothing calls this directly

Calls 1

tick_valuesMethod · 0.95

Tested by

no test coverage detected