(ax)
| 833 | |
| 834 | |
| 835 | def test_span_selector_add_state(ax): |
| 836 | tool = widgets.SpanSelector(ax, noop, 'horizontal', |
| 837 | interactive=True) |
| 838 | |
| 839 | with pytest.raises(ValueError): |
| 840 | tool.add_state('unsupported_state') |
| 841 | with pytest.raises(ValueError): |
| 842 | tool.add_state('center') |
| 843 | with pytest.raises(ValueError): |
| 844 | tool.add_state('square') |
| 845 | |
| 846 | tool.add_state('move') |
| 847 | |
| 848 | |
| 849 | def test_tool_line_handle(ax): |
nothing calls this directly
no test coverage detected
searching dependent graphs…