21e7d2ca9cfa51ceaf46d65a5ec30abfcdc5bffe,lib/matplotlib/rcsetup.py,,,#,966

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",
    [*ls_mapper.keys(), *ls_mapper.values(), "None", "none", " ", ""],
    ignorecase=True)


def _validate_linestyle(ls):
    

After Change


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: 6

Instances


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


Project Name: Theano/Theano
Commit Name: f8a7c0edb2c4123d032fa32073c7356a7a17d9f0
Time: 2017-08-07
Author: stevenbocco@gmail.com
File Name: theano/configdefaults.py
Class Name:
Method Name:


Project Name: Theano/Theano
Commit Name: b7d23606db54f1b60d0efae50922549234b20661
Time: 2017-07-31
Author: abergeron@gmail.com
File Name: theano/configdefaults.py
Class Name:
Method Name: