e511c48e6ac016098a05f44a5d9ffbb1688b94f3,lib/mpl_toolkits/axes_grid1/axes_grid.py,ImageGrid,_update_locators,#ImageGrid#,490

Before Change



        if self._colorbar_mode == "single":
            if self._colorbar_location == "right":
                sz = Size.Fraction(self._nrows, Size.AxesX(self.axes_llc))
                h.append(Size.from_any(self._colorbar_pad, sz))
                h.append(Size.from_any(self._colorbar_size, sz))
                locator = self._divider.new_locator(nx=-2, ny=0, ny1=-1)
            elif self._colorbar_location == "top":
                sz = Size.Fraction(self._ncols, Size.AxesY(self.axes_llc))
                v.append(Size.from_any(self._colorbar_pad, sz))
                v.append(Size.from_any(self._colorbar_size, sz))
                locator = self._divider.new_locator(nx=0, nx1=-1, ny=-2)
            if self._colorbar_location in ("right", "top"):

After Change



        if self._colorbar_mode == "single":
            if self._colorbar_location == "right":
                sz = self._nrows * Size.AxesX(self.axes_llc)
                h.append(Size.from_any(self._colorbar_pad, sz))
                h.append(Size.from_any(self._colorbar_size, sz))
                locator = self._divider.new_locator(nx=-2, ny=0, ny1=-1)
            elif self._colorbar_location == "top":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: matplotlib/matplotlib
Commit Name: e511c48e6ac016098a05f44a5d9ffbb1688b94f3
Time: 2019-12-23
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axes_grid1/axes_grid.py
Class Name: ImageGrid
Method Name: _update_locators


Project Name: matplotlib/matplotlib
Commit Name: e511c48e6ac016098a05f44a5d9ffbb1688b94f3
Time: 2019-12-23
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axes_grid1/axes_rgb.py
Class Name:
Method Name: make_rgb_axes


Project Name: matplotlib/matplotlib
Commit Name: e511c48e6ac016098a05f44a5d9ffbb1688b94f3
Time: 2019-12-23
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axes_grid1/axes_rgb.py
Class Name: RGBAxesBase
Method Name: __init__