ccda160cd8b61eecfb077fd1810a10ca20960afa,ggplot/scales/scales.py,,scales_add_defaults,#Any#Any#Any#,200
Before Change
// aesthetics with scales
if scales:
aws = reduce(set.union, [set(sc.aesthetics) for sc in scales])
else:
aws = set()
// aesthetics that do not have scales present
After Change
// aesthetics with scales
aws = set()
if scales:
for s in (set(sc.aesthetics) for sc in scales):
aws.update(s)
// aesthetics that do not have scales present
new_aesthetics = set(aesthetics.keys()) - aws
if not new_aesthetics:
return
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: has2k1/plotnine
Commit Name: ccda160cd8b61eecfb077fd1810a10ca20960afa
Time: 2015-08-25
Author: has2k1@gmail.com
File Name: ggplot/scales/scales.py
Class Name:
Method Name: scales_add_defaults
Project Name: pymc-devs/pymc3
Commit Name: fdeeaf11afea068e505556b373d059a0b4645871
Time: 2012-01-14
Author: takowl@gmail.com
File Name: pymc/graph.py
Class Name:
Method Name: graph
Project Name: pymc-devs/pymc3
Commit Name: fdeeaf11afea068e505556b373d059a0b4645871
Time: 2012-01-14
Author: takowl@gmail.com
File Name: pymc/database/base.py
Class Name: Database
Method Name: connect_model