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

Function test_transparency

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

Source from the content-addressed store, hash-verified

145
146@image_comparison(["empty.eps"], style='_classic_test')
147def test_transparency():
148 fig, ax = plt.subplots()
149 ax.set_axis_off()
150 ax.plot([0, 1], color="r", alpha=0)
151 ax.text(.5, .5, "foo", color="r", alpha=0)
152
153
154@needs_usetex

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…