dc875501400b45ce8eff19d6aad0884c7c7c8563,lib/matplotlib/offsetbox.py,AnchoredOffsetbox,__init__,#AnchoredOffsetbox#Any#Any#Any#Any#Any#Any#Any#Any#,979
Before Change
try:
loc = self.codes[loc]
except KeyError:
raise ValueError("Unrecognized location "%s". Valid "
"locations are\n\t%s\n"
% (loc, "\n\t".join(self.codes)))
self.loc = loc
self.borderpad = borderpad
self.pad = pad
After Change
self.set_child(child)
if isinstance(loc, str):
cbook._check_in_list(self.codes, loc=loc)
loc = self.codes[loc]
self.loc = loc
self.borderpad = borderpad
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: matplotlib/matplotlib
Commit Name: dc875501400b45ce8eff19d6aad0884c7c7c8563
Time: 2019-05-27
Author: quantum.analyst@gmail.com
File Name: lib/matplotlib/offsetbox.py
Class Name: AnchoredOffsetbox
Method Name: __init__
Project Name: matplotlib/matplotlib
Commit Name: f8b4bccf5b6ebc9246220438b2a1e50d0cf24c38
Time: 2019-04-01
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/cm.py
Class Name:
Method Name: get_cmap
Project Name: matplotlib/matplotlib
Commit Name: f62b9ba9bf7795a7b63ac73e0d710b249f188dd8
Time: 2019-05-27
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/markers.py
Class Name: MarkerStyle
Method Name: set_fillstyle