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

Function test_default_linestyle

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

Source from the content-addressed store, hash-verified

901
902
903def test_default_linestyle():
904 patch = Patch()
905 patch.set_linestyle('--')
906 patch.set_linestyle(None)
907 assert patch.get_linestyle() == 'solid'
908
909
910@mpl.style.context('mpl20')

Callers

nothing calls this directly

Calls 3

set_linestyleMethod · 0.95
get_linestyleMethod · 0.95
PatchClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…