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

Function test_bbox_clipping

lib/matplotlib/tests/test_text.py:446–449  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

444
445@image_comparison(['text_bboxclip'], style='mpl20')
446def test_bbox_clipping():
447 plt.text(0.9, 0.2, 'Is bbox clipped?', backgroundcolor='r', clip_on=True)
448 t = plt.text(0.9, 0.5, 'Is fancy bbox clipped?', clip_on=True)
449 t.set_bbox({"boxstyle": "round, pad=0.1"})
450
451
452@image_comparison(['annotation_negative_ax_coords.png'], style='mpl20')

Callers

nothing calls this directly

Calls 2

set_bboxMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…