c2fb60fd8786d2c7053b741f89aed3c60b83be55,lib/matplotlib/sankey.py,Sankey,add,#Sankey#Any#Any#Any#Any#Any#Any#Any#Any#Any#,351

Before Change


                f"The lengths of "flows" ({n}) and "labels" ({len(labels)}) "
                f"are incompatible")
        else:
            labels = [labels] * n
        if trunklength < 0:
            raise ValueError(
                ""trunklength" is negative, which is not allowed because it "

After Change


                f"{np.shape(orientations)} are incompatible"
            ) from None
        try:
            labels = np.broadcast_to(labels, n)
        except ValueError:
            raise ValueError(
                f"The shapes of "flows" {np.shape(flows)} and "labels" "
                f"{np.shape(labels)} are incompatible"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: c2fb60fd8786d2c7053b741f89aed3c60b83be55
Time: 2019-01-20
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/sankey.py
Class Name: Sankey
Method Name: add


Project Name: matplotlib/matplotlib
Commit Name: bdacddac4c2435f88b15786d92cb73b479ad4164
Time: 2019-01-18
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/sankey.py
Class Name: Sankey
Method Name: add


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: befelix/safe_learning
Commit Name: 95391f618b7fe48dfd7fff63917036f447c0b621
Time: 2017-02-03
Author: fberkenkamp@gmail.com
File Name: safe_learning/utilities.py
Class Name:
Method Name: linearly_spaced_combinations