23e7d20abbcec065a63c0ec31f5dcca481f41615,plotnine/aes.py,,rename_aesthetics,#Any#,146
Before Change
def rename_aesthetics(d):
with suppress(KeyError):
d["color"] = d.pop("colour")
with suppress(KeyError):
After Change
with suppress(KeyError):
obj["color"] = obj.pop("colour")
else:
obj = [lookup[x] if x in lookup else x for x in obj]
return obj
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: has2k1/plotnine
Commit Name: 23e7d20abbcec065a63c0ec31f5dcca481f41615
Time: 2018-06-26
Author: has2k1@gmail.com
File Name: plotnine/aes.py
Class Name:
Method Name: rename_aesthetics
Project Name: has2k1/plotnine
Commit Name: 98250a167fba43736bde5875007b0cf9fee05257
Time: 2019-12-06
Author: has2k1@gmail.com
File Name: plotnine/layer.py
Class Name: layer
Method Name: compute_aesthetics
Project Name: pgmpy/pgmpy
Commit Name: ce229c76dfffda7563071fc461ee1f7e31080172
Time: 2015-11-10
Author: utkarsh.gupta550@gmail.com
File Name: pgmpy/readwrite/BIF.py
Class Name: BifReader
Method Name: __init__