431bd8e37469c6e6e0e26fff6a6575982865904a,lib/matplotlib/figure.py,Figure,set_size_inches,#Figure#Any#Any#Any#,875

Before Change


        if forward:
            canvas = getattr(self, "canvas")
            if canvas is not None:
                ratio = getattr(self.canvas, "_dpi_ratio", 1)
                dpival = self.dpi / ratio
                canvasw = w * dpival
                canvash = h * dpival
                manager = getattr(self.canvas, "manager", None)
                if manager is not None:

After Change


        
        if h is None:  // Got called with a single pair as argument.
            w, h = w
        size = np.array([w, h])
        if not np.isfinite(size).all() or (size <= 0).any():
            raise ValueError(f"figure size must be positive finite not {size}")
        self.bbox_inches.p1 = size
        if forward:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: matplotlib/matplotlib
Commit Name: 431bd8e37469c6e6e0e26fff6a6575982865904a
Time: 2019-04-04
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/figure.py
Class Name: Figure
Method Name: set_size_inches


Project Name: rail-berkeley/softlearning
Commit Name: abb4e425ff57acad92d42e92a6c76526a3b49e27
Time: 2019-02-04
Author: hartikainen@berkeley.edu
File Name: softlearning/samplers/simple_sampler.py
Class Name: SimpleSampler
Method Name: sample


Project Name: analysiscenter/batchflow
Commit Name: 7ca5b1abe7bee5b6e9b67bc98b1b831152186f56
Time: 2020-11-09
Author: akoriagin@nes.ru
File Name: batchflow/sampler.py
Class Name: ScipySampler
Method Name: __init__