matplotlib.patches.draw_bbox #

matplotlib.补丁。draw_bbox ( bbox , renderer , color = 'k' , trans = None ) [source] #

一个调试函数,用于在艺术家返回的边界框周围绘制一个矩形,Artist.get_window_extent 以测试艺术家是否返回了正确的 bbox。