3f59cdec57976ba0564887850541c0bd974c1e10,lib/mpl_toolkits/mplot3d/art3d.py,,zalpha,#Any#Any#,787
Before Change
norm = Normalize(min(zs), max(zs))
sats = 1 - norm(zs) * 0.7
colors = [(c[0], c[1], c[2], c[3] * s) for c, s in zip(colors, sats)]
return colors
After Change
return np.zeros((0, 4))
norm = Normalize(min(zs), max(zs))
sats = 1 - norm(zs) * 0.7
rgba = np.broadcast_to(mcolors.to_rgba_array(colors), (len(zs), 4))
return np.column_stack([rgba[:, :3], rgba[:, 3] * sats])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: matplotlib/matplotlib
Commit Name: 3f59cdec57976ba0564887850541c0bd974c1e10
Time: 2019-01-19
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/mplot3d/art3d.py
Class Name:
Method Name: zalpha
Project Name: tensorflow/transform
Commit Name: f73cdc286a3e125cf7019336621cb10370ebfd52
Time: 2019-04-25
Author: askerryryan@google.com
File Name: tensorflow_transform/tf_utils.py
Class Name:
Method Name: _reduce_vocabulary_inputs
Project Name: matplotlib/matplotlib
Commit Name: deaf966e31e86abc4b2b95a1697c9dd5de8a425f
Time: 2018-05-08
Author: anntzer.lee@gmail.com
File Name: examples/misc/demo_ribbon_box.py
Class Name: RibbonBox
Method Name: get_stretched_image