3bee9363d002f9d9bdca93746d5048219e7e4f1d,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)


def _validate_linestyle(ls):
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


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:


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:


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: austin-taylor/flare
Commit Name: 99caf8c4ad819a460332fac56009f32df625283f
Time: 2017-06-13
Author: jburkert82@gmail.com
File Name: flare/analytics/command_control.py
Class Name: elasticBeacon
Method Name: percent_grouping