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

Function test_transparency_tex

lib/matplotlib/tests/test_backend_ps.py:156–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154@needs_usetex
155@image_comparison(["empty.eps"], style='_classic_test')
156def test_transparency_tex():
157 mpl.rcParams['text.usetex'] = True
158 fig, ax = plt.subplots()
159 ax.set_axis_off()
160 ax.plot([0, 1], color="r", alpha=0)
161 ax.text(.5, .5, "foo", color="r", alpha=0)
162
163
164def test_bbox():

Callers

nothing calls this directly

Calls 4

subplotsMethod · 0.45
set_axis_offMethod · 0.45
plotMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…