465d854b02acf2266b77eb62a6069cba4dc71d4a,ggplot/geoms/geom.py,geom,__init__,#geom#,5
Before Change
kwargs["color"] = kwargs["colour"]
del kwargs["colour"]
if len(args)==1:
if isinstance(args[0], aes):
self.manual_aes = {k: v for k, v in kwargs.items() if k in self.VALID_AES}
return
self.manual_aes = {k: v for k, v in kwargs.items() if k in self.VALID_AES}
def __radd__(self, gg):
gg = deepcopy(gg)
After Change
elif isinstance(arg, DataFrame):
self.data = arg
else:
raise Exception("Unknown argument of type "{0}".".format(type(arg)))
if "data" in kwargs:
self.data = kwargs.pop("data")
if "mapping" in kwargs:
self.aes.update({k: v for k, v in kwargs.pop("mapping").items() if k in self.VALID_AES})
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: has2k1/plotnine
Commit Name: 465d854b02acf2266b77eb62a6069cba4dc71d4a
Time: 2013-12-10
Author: jasc@gmx.net
File Name: ggplot/geoms/geom.py
Class Name: geom
Method Name: __init__
Project Name: snorkel-team/snorkel
Commit Name: 26b546ecfe889a07fb50e8c0fab952249651d256
Time: 2019-08-13
Author: hancock.braden@gmail.com
File Name: snorkel/classification/training/trainer.py
Class Name: Trainer
Method Name: _check_dataloaders
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: fb25b01a57ca4353f583e38d0a9238195683734d
Time: 2020-05-14
Author: c_kaku60@hotmail.com
File Name: functions/composer/composer_storage_trigger.py
Class Name:
Method Name: make_iap_request