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

Function test_unicode_minus

lib/matplotlib/tests/test_usetex.py:53–56  ·  view source on GitHub ↗
(fig_test, fig_ref)

Source from the content-addressed store, hash-verified

51
52@check_figures_equal(extensions=['png', 'pdf', 'svg'])
53def test_unicode_minus(fig_test, fig_ref):
54 mpl.rcParams['text.usetex'] = True
55 fig_test.text(.5, .5, "$-$")
56 fig_ref.text(.5, .5, "\N{MINUS SIGN}")
57
58
59def test_mathdefault():

Callers

nothing calls this directly

Calls 1

textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…