48a17983d3545e73961ca99475dec71b463408c0,lib/matplotlib/rcsetup.py,,,#,923

Before Change


if __name__ == "__main__":
    rc = defaultParams
    rc["datapath"][0] = "/"
    for key in rc:
        if not rc[key][1](rc[key][0]) == rc[key][0]:
            print("%s: %s != %s" % (key, rc[key][1](rc[key][0]), rc[key][0]))

After Change


// A validator dedicated to the named line styles, based on the items in
// ls_mapper, and a list of possible strings read from Line2D.set_linestyle
_validate_named_linestyle = ValidateInStrings("linestyle",
                                              list(six.iterkeys(ls_mapper)) +
                                              list(six.itervalues(ls_mapper)) +
                                              ["None", "none", " ", ""],
                                              ignorecase=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: matplotlib/matplotlib
Commit Name: 48a17983d3545e73961ca99475dec71b463408c0
Time: 2018-03-06
Author: salinder.sid@gmail.com
File Name: lib/matplotlib/rcsetup.py
Class Name:
Method Name:


Project Name: loli/medpy
Commit Name: 183b17ee92f1aacef8db4d7e24db4cfa4fd79d03
Time: 2012-02-28
Author: oskar.maier@googlemail.com
File Name: src/medpy/graphcut/graph.py
Class Name: Graph
Method Name: inconsistent


Project Name: matplotlib/matplotlib
Commit Name: 3bee9363d002f9d9bdca93746d5048219e7e4f1d
Time: 2018-03-07
Author: salinder.sid@gmail.com
File Name: lib/matplotlib/rcsetup.py
Class Name:
Method Name: