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

Function test_set_offset_string

lib/matplotlib/tests/test_ticker.py:1996–1999  ·  view source on GitHub ↗
(formatter)

Source from the content-addressed store, hash-verified

1994 mticker.FuncFormatter(lambda a: f'val: {a}'),
1995 mticker.FixedFormatter(('foo', 'bar'))))
1996def test_set_offset_string(formatter):
1997 assert formatter.get_offset() == ''
1998 formatter.set_offset_string('mpl')
1999 assert formatter.get_offset() == 'mpl'
2000
2001
2002def test_minorticks_on_multi_fig():

Callers

nothing calls this directly

Calls 2

get_offsetMethod · 0.45
set_offset_stringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…