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

Before 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):
    

After Change


validate_hatchlist = _listify_validator(validate_hatch)
validate_dashlist = _listify_validator(validate_nseq_float(allow_none=True))

_prop_validators = {
        "color": _listify_validator(validate_color_for_prop_cycle,
                                    allow_stringlist=True),
        "linewidth": validate_floatlist,
        "linestyle": validate_stringlist,
        "facecolor": validate_colorlist,
        "edgecolor": validate_colorlist,
        "joinstyle": validate_joinstylelist,
        "capstyle": validate_capstylelist,
        "fillstyle": validate_fillstylelist,
        "markerfacecolor": validate_colorlist,
        "markersize": validate_floatlist,
        "markeredgewidth": validate_floatlist,
        "markeredgecolor": validate_colorlist,
        "markevery": validate_markeverylist,
        "alpha": validate_floatlist,
        "marker": validate_stringlist,
        "hatch": validate_hatchlist,
        "dashes": validate_dashlist,
    }
_prop_aliases = {
        "c": "color",
        "lw": "linewidth",
        "ls": "linestyle",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

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: maciejkula/spotlight
Commit Name: ec838b1d420a5fb003e55da96146f1688cb8ea2a
Time: 2017-07-13
Author: maciej.kula@gmail.com
File Name: examples/movielens_cnn.py
Class Name:
Method Name: sample_pooling_hyperparameters


Project Name: maciejkula/spotlight
Commit Name: ec838b1d420a5fb003e55da96146f1688cb8ea2a
Time: 2017-07-13
Author: maciej.kula@gmail.com
File Name: examples/movielens_cnn.py
Class Name:
Method Name: sample_lstm_hyperparameters


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: