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


    if unknown:
        raise ValueError("Unknown hatch symbol(s): %s" % list(unknown))
    return s
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",
        "fc": "facecolor",
        "ec": "edgecolor",
        "mfc": "markerfacecolor",
        "mec": "markeredgecolor",
        "mew": "markeredgewidth",
        "ms": "markersize",
    }


def cycler(*args, **kwargs):
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 38

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: 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: matplotlib/matplotlib
Commit Name: 21e7d2ca9cfa51ceaf46d65a5ec30abfcdc5bffe
Time: 2019-03-30
Author: tcaswell@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: 23dad88287331e254e119634bc991d1e8bbb8668
Time: 2019-03-25
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/rcsetup.py
Class Name:
Method Name: