ad6f05fa2a4510a310f37b8a73548614dc2f8df8,keras_rcnn/callbacks/_tensorboard.py,,_generate_image,#Any#Any#,11

Before Change



    buffer = io.BytesIO()

    window_extent = axis.get_window_extent()

    inverted = axis.dpi_scale_trans.inverted()

    bbox_inches = window_extent.transformed(inverted)

After Change



    axis.set_axis_off()

    bbox_inches = axis.get_window_extent().transformed(matplotlib.pyplot.gcf().dpi_scale_trans.inverted())

    keras_rcnn.utils.show_bounding_boxes(image, bounding_boxes)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: broadinstitute/keras-rcnn
Commit Name: ad6f05fa2a4510a310f37b8a73548614dc2f8df8
Time: 2018-04-12
Author: allen.goodman@icloud.com
File Name: keras_rcnn/callbacks/_tensorboard.py
Class Name:
Method Name: _generate_image


Project Name: matplotlib/matplotlib
Commit Name: 39c9ac9573b2f75d4730b117a9771ec9f14cb46e
Time: 2020-03-31
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/table.py
Class Name: Cell
Method Name: get_text_bounds


Project Name: matplotlib/matplotlib
Commit Name: a118e75029e93644de2668e59ce79e5d15db2356
Time: 2020-03-09
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axes_grid1/axes_size.py
Class Name: MaxExtent
Method Name: get_size


Project Name: matplotlib/matplotlib
Commit Name: 00892637dd33bb15135df99ec4ec647a83ad260d
Time: 2020-04-23
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/offsetbox.py
Class Name: PaddedBox
Method Name: draw_frame