8fe1095a0711087be63a645a210329f5693cb0be,gui/gui_qt_logic.py,CurvePlot,update_lines,#CurvePlot#Any#Any#Any#Any#Any#Any#Any#Any#Any#,579

Before Change



        self.y2.extend(d1.y)
        self.y3.extend(d2.y)
        self.line2.set_ydata(self.y2[-100:])
        self.line3.set_ydata(self.y3[-100:])
        self.axes.set_ylim(0, max(1, maxValue))
        self.draw()

After Change


        x = np.arange(0, 1, 0.01)
        try:
            self.line1.remove()
            self.line2.remove()
        except:
            pass

        self.line1, = self.axes.plot(x, d1.y, "b-")  // Returns a tuple of line objects, thus the comma
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: dickreuter/Poker
Commit Name: 8fe1095a0711087be63a645a210329f5693cb0be
Time: 2016-09-09
Author: dickreuter@yahoo.com
File Name: gui/gui_qt_logic.py
Class Name: CurvePlot
Method Name: update_lines


Project Name: autorope/donkeycar
Commit Name: c8e5a57b44aa57c820c87acb4521a44339680eac
Time: 2019-01-15
Author: tawnkramer@gmail.com
File Name: donkeycar/parts/network.py
Class Name: TCPServeValue
Method Name: send


Project Name: pandas-dev/pandas
Commit Name: 3c23e6ec97431cf17063c09c5207d070135b4095
Time: 2020-11-14
Author: twoertwein@users.noreply.github.com
File Name: pandas/io/excel/_xlwt.py
Class Name: XlwtWriter
Method Name: __init__


Project Name: CellProfiler/CellProfiler
Commit Name: db301b601be3cf7f8f792cca41d40e9e52df79f2
Time: 2011-06-09
Author: thouis@gmail.com
File Name: cpnose.py
Class Name:
Method Name: