()
| 444 | |
| 445 | @image_comparison(['text_bboxclip'], style='mpl20') |
| 446 | def 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') |