6516a69369c9b6f3e6cb1021573decf219a8c6ef,plotting.py,MPLoptions,__init__,#MPLoptions#,284

Before Change


        self.tkvars = {}
        for i in opts:
            t = opts[i]["type"]
            if t in ["entry","combobox"]:
                var = StringVar()
            elif t in ["checkbutton"]:
                var = IntVar()
            elif t in ["scale"]:
                var = DoubleVar()
            var.set(opts[i]["default"])
            self.tkvars[i] = var

        self.applyOptions()

After Change


                "axes":["showxlabels","showylabels","use_index","sharey","logx","logy","rot"],
                "labels":["title","xlabel","ylabel"]}
        order = ["formats","sizes","axes","styles","labels"]
        self.groups = OrderedDict(sorted(grps.items()))
        opts = self.opts = {"font":{"type":"combobox","default":"Arial","items":fonts},
                "fontsize":{"type":"scale","default":12,"range":(5,40),"interval":1,"label":"font size"},
                "marker":{"type":"combobox","default":"","items":self.markers},
                "linestyle":{"type":"combobox","default":"-","items":self.linestyles},
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: dmnfarrell/pandastable
Commit Name: 6516a69369c9b6f3e6cb1021573decf219a8c6ef
Time: 2014-02-21
Author: farrell.damien@gmail.com@c7c09e87-b3be-f776-313c-63292bcc8aec
File Name: plotting.py
Class Name: MPLoptions
Method Name: __init__


Project Name: Qiskit/qiskit-aqua
Commit Name: 0b4d842f456032be4fe3f01239de0250739b7092
Time: 2019-07-02
Author: manoel@us.ibm.com
File Name: qiskit/aqua/_ibmq_credentials_preferences.py
Class Name: IBMQCredentialsPreferences
Method Name: save


Project Name: open-mmlab/mmcv
Commit Name: 2e6c8ec80333e822a3715fd314c7c760e7f832d2
Time: 2020-10-27
Author: daviddelaiglesiacastro@gmail.com
File Name: mmcv/runner/hooks/logger/text.py
Class Name: TextLoggerHook
Method Name: log