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

Function test_default_antialiased

lib/matplotlib/tests/test_patches.py:893–900  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

891
892
893def test_default_antialiased():
894 patch = Patch()
895
896 patch.set_antialiased(not rcParams['patch.antialiased'])
897 assert patch.get_antialiased() == (not rcParams['patch.antialiased'])
898 # Check that None resets the state
899 patch.set_antialiased(None)
900 assert patch.get_antialiased() == rcParams['patch.antialiased']
901
902
903def test_default_linestyle():

Callers

nothing calls this directly

Calls 3

set_antialiasedMethod · 0.95
get_antialiasedMethod · 0.95
PatchClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…