A debug function to draw a rectangle around the bounding box returned by an artist's Artist.get_window_extent
to test whether the artist is returning the correct bbox.
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.patches.draw_bbox.html