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

Function test_textarea_properties

lib/matplotlib/tests/test_offsetbox.py:404–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

402
403
404def test_textarea_properties():
405 ta = TextArea('Foo')
406 assert ta.get_text() == 'Foo'
407 assert not ta.get_multilinebaseline()
408
409 ta.set_text('Bar')
410 ta.set_multilinebaseline(True)
411 assert ta.get_text() == 'Bar'
412 assert ta.get_multilinebaseline()
413
414
415@check_figures_equal()

Callers

nothing calls this directly

Calls 5

get_textMethod · 0.95
get_multilinebaselineMethod · 0.95
set_textMethod · 0.95
set_multilinebaselineMethod · 0.95
TextAreaClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…