f9fbe96bf352d22fe6a2800d62af3bf4b62bf322,lib/mpl_toolkits/axes_grid1/inset_locator.py,BboxPatch,get_path,#BboxPatch#,164
Before Change
def get_path(self):
// docstring inherited
x0, y0, x1, y1 = self.bbox.extents
verts = [(x0, y0),
(x1, y0),
(x1, y1),
(x0, y1),
(x0, y0),
(0, 0)]
codes = [Path.MOVETO,
Path.LINETO,
Path.LINETO,
Path.LINETO,
Path.LINETO,
Path.CLOSEPOLY]
return Path(verts, codes)
class BboxConnector(Patch):
@staticmethod
After Change
def get_path(self):
// docstring inherited
x0, y0, x1, y1 = self.bbox.extents
return Path([(x0, y0), (x1, y0), (x1, y1), (x0, y1), (x0, y0)],
closed=True)
class BboxConnector(Patch):
@staticmethod
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: matplotlib/matplotlib
Commit Name: f9fbe96bf352d22fe6a2800d62af3bf4b62bf322
Time: 2020-03-12
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axes_grid1/inset_locator.py
Class Name: BboxPatch
Method Name: get_path
Project Name: matplotlib/matplotlib
Commit Name: 8db6d0503fda59832925e28ac4a773c8b29c3d3f
Time: 2020-03-01
Author: anntzer.lee@gmail.com
File Name: examples/userdemo/custom_boxstyle01.py
Class Name:
Method Name: custom_box_style
Project Name: matplotlib/matplotlib
Commit Name: f9fbe96bf352d22fe6a2800d62af3bf4b62bf322
Time: 2020-03-12
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axes_grid1/inset_locator.py
Class Name: BboxPatch
Method Name: get_path
Project Name: matplotlib/matplotlib
Commit Name: 7c9c01ba1914546fa4308988edff57ddb2729314
Time: 2020-03-12
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/axes_grid1/inset_locator.py
Class Name: BboxConnector
Method Name: connect_bbox