61111647e6874d39af8d48650379e76f54a5bf71,plotting.py,PlotFrame,redraw,#PlotFrame#,71

Before Change



        if kind != "scatter":
            if "s" in kwds:
                del kwds["s"]
       
        self.ax.clear()
        ax = self.ax
        if kind == "boxplot":         

After Change



        if not hasattr(self, "data"):
            return    
        omitkwds = {"line":["stacked","s"],
                    "scatter":["stacked"],
                    "bar":["marker","linestyle","s"],
                    "barh":["marker","linestyle","s"],
                    "heatmap":[], "density":["stacked","s"], "boxplot":[],
                    "3d":[]
                    }
        data = self.data
        kwds = self.mplopts.kwds
        kind = kwds["kind"]
        ignore = omitkwds[kind]
        ignore.extend(["font","fontsize"])
        for i in ignore:
            if i in kwds:
                del kwds[i]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: dmnfarrell/pandastable
Commit Name: 61111647e6874d39af8d48650379e76f54a5bf71
Time: 2014-02-13
Author: farrell.damien@gmail.com@c7c09e87-b3be-f776-313c-63292bcc8aec
File Name: plotting.py
Class Name: PlotFrame
Method Name: redraw


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 983aedb23057629605c8a7c8d9757945651d48f5
Time: 2015-03-27
Author: yuyantingzero@gmail.com
File Name: perfkitbenchmarker/packages/fio.py
Class Name:
Method Name: ParseJobFile


Project Name: regel/loudml
Commit Name: 1f9b13ec98b3b0f2443caf549f69790a52cc0a70
Time: 2020-04-13
Author: sebastien.regel@gmail.com
File Name: loudml/opentsdb.py
Class Name: OpenTSDBClient
Method Name: put