(self)
| 93 | |
| 94 | class TestMultipleLocator: |
| 95 | def test_basic(self): |
| 96 | loc = mticker.MultipleLocator(base=3.147) |
| 97 | test_value = np.array([-9.441, -6.294, -3.147, 0., 3.147, 6.294, |
| 98 | 9.441, 12.588]) |
| 99 | assert_almost_equal(loc.tick_values(-7, 10), test_value) |
| 100 | |
| 101 | def test_basic_with_offset(self): |
| 102 | loc = mticker.MultipleLocator(base=3.147, offset=1.2) |
nothing calls this directly
no test coverage detected