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

Function test_get_set_antialiased

lib/matplotlib/tests/test_text.py:922–933  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

920
921
922def test_get_set_antialiased():
923 txt = Text(.5, .5, "foo\nbar")
924 assert txt._antialiased == mpl.rcParams['text.antialiased']
925 assert txt.get_antialiased() == mpl.rcParams['text.antialiased']
926
927 txt.set_antialiased(True)
928 assert txt._antialiased is True
929 assert txt.get_antialiased() == txt._antialiased
930
931 txt.set_antialiased(False)
932 assert txt._antialiased is False
933 assert txt.get_antialiased() == txt._antialiased
934
935
936def test_annotation_antialiased():

Callers

nothing calls this directly

Calls 3

get_antialiasedMethod · 0.95
set_antialiasedMethod · 0.95
TextClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…