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

Function test_draw_wraper_forward_input

lib/matplotlib/tests/test_artist.py:582–591  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

580
581
582def test_draw_wraper_forward_input():
583 class TestKlass(martist.Artist):
584 def draw(self, renderer, extra):
585 return extra
586
587 art = TestKlass()
588 renderer = mbackend_bases.RendererBase()
589
590 assert 'aardvark' == art.draw(renderer, 'aardvark')
591 assert 'aardvark' == art.draw(renderer, extra='aardvark')
592
593
594def test_get_figure():

Callers

nothing calls this directly

Calls 2

drawMethod · 0.95
TestKlassClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…