Public Member Functions | |
def | __init__ |
Constructor. | |
def | plotTheData |
Plot the data. | |
def | updatePlot |
Call if the data has changed. | |
Public Attributes | |
axes | |
xdata | |
ydata | |
pointSize | |
pc |
def scatterPlotModule::scatterPlot::updatePlot | ( | self, | ||
xdata, | ||||
ydata | ||||
) |
Call if the data has changed.
As we don't save the data the new data will probably be located at a different position in memory so we need the xdata and ydata again
Note: assumes that only 1 matplotlib.lines.Line2D object is present in self.pc This is quite valid for a scatter plot : ) multiple scatter plots over each-other can be accomplished by creating multiple scatterPlot instances.