0e133ac8f1ff4858e70d9f1888967e456c43211d,logger/plotter.py,Plotter,_plot_xy,#Plotter#Any#Any#Any#Any#Any#,29

Before Change


        xlabel = "Time (s)" if time_idx else "Index"
        if name not in list(self.windows.keys()):
            self.windows[name] = \
                self.viz.line(Y=y, X=x,
                              opts={"legend": [tag],
                                    "title": name,
                                    "xlabel": xlabel})
        else:
            self.viz.updateTrace(Y=y, X=x,
                                 name=tag,
                                 win=self.windows[name],

After Change


        xlabel = "Time (s)" if time_idx else "Index"
        if name not in list(self.windows.keys()):
            opts = {"legend": [tag], "title": name, "xlabel": xlabel}
            self.windows[name] = self.viz.line(Y=y, X=x, opts=opts)
            return True
        else:
            return self.viz.updateTrace(Y=y, X=x, name=tag,
                                        win=self.windows[name],
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: oval-group/logger
Commit Name: 0e133ac8f1ff4858e70d9f1888967e456c43211d
Time: 2017-11-20
Author: leonardbj@hotmail.fr
File Name: logger/plotter.py
Class Name: Plotter
Method Name: _plot_xy


Project Name: arviz-devs/arviz
Commit Name: 0001654c779c4bffe0ab685c2b1fc498410fed61
Time: 2020-02-13
Author: gautampiyus@gmail.com
File Name: arviz/plots/backends/bokeh/essplot.py
Class Name:
Method Name: plot_ess


Project Name: bokeh/bokeh
Commit Name: 5533d3fcb9d30726986a87791ace1e556dea53b4
Time: 2015-11-03
Author: sarah@bonvaya.com
File Name: examples/plotting/file/line_compare.py
Class Name:
Method Name: