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

Function test_d_glyph

lib/matplotlib/tests/test_backend_ps.py:243–250  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

241
242@needs_ghostscript
243def test_d_glyph(tmp_path):
244 # Ensure that we don't have a procedure defined as /d, which would be
245 # overwritten by the glyph definition for "d".
246 fig = plt.figure()
247 fig.text(.5, .5, "def")
248 out = tmp_path / "test.eps"
249 fig.savefig(out)
250 mpl.testing.compare.convert(out, cache=False) # Should not raise.
251
252
253@image_comparison(["type42_without_prep.eps"], style='mpl20')

Callers

nothing calls this directly

Calls 4

figureMethod · 0.80
textMethod · 0.45
savefigMethod · 0.45
convertMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…