c272624d4e8e510eda00e683030d15414a7d5b73,lib/matplotlib/figure.py,Figure,get_tightbbox,#Figure#Any#Any#,2264

Before Change


            if bbox is not None and (bbox.width != 0 or bbox.height != 0):
                bb.append(bbox)

        for ax in self.axes:
            if ax.get_visible():
                bb.append(ax.get_tightbbox(renderer, bbox_extra_artists))

        if len(bb) == 0:
            return self.bbox_inches

        _bbox = Bbox.union([b for b in bb if b.width != 0 or b.height != 0])

After Change



        bb.extend(
            ax.get_tightbbox(renderer, bbox_extra_artists=bbox_extra_artists)
            for ax in self.axes if ax.get_visible())

        if len(bb) == 0:
            return self.bbox_inches
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: matplotlib/matplotlib
Commit Name: c272624d4e8e510eda00e683030d15414a7d5b73
Time: 2018-10-04
Author: jklymak@gmail.com
File Name: lib/matplotlib/figure.py
Class Name: Figure
Method Name: get_tightbbox


Project Name: matplotlib/matplotlib
Commit Name: d520128e9440274835e92efabfce2c87996b0d45
Time: 2018-03-04
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axisartist/axislines.py
Class Name: Axes
Method Name: get_tightbbox


Project Name: matplotlib/matplotlib
Commit Name: 65bedc5c8eb87824e46859deadbec079a3a3c63c
Time: 2018-10-12
Author: jklymak@gmail.com
File Name: lib/matplotlib/figure.py
Class Name: Figure
Method Name: get_tightbbox