def scatter(self, *args, **kwargs):
        """Adds a :py:class:`.ScatterSeries` to the chart.

        :param \*data: The data for the series as either (x,y) values or two big\
        tuples/lists of x and y values respectively.
        :param str name: The name to be associated with the series.
        :param str color: The hex colour of the line.
        :param Number size: The size of each data point - generally the diameter.
        :param Number linewidth: The width in pixels of the data points' edge.
        :raises ValueError: if the size and length of the data doesn't match\
        either format."""

        if "color" not in kwargs:
            kwargs["color"] = self.next_color()
        series = ScatterSeries(*args, **kwargs)
        self.add_series(series)
def scatter ( self , * args , ** kwargs ) : if "color" not in kwargs : kwargs [ "color" ] = self . next_color ( ) series = ScatterSeries ( * args , ** kwargs ) self . add_series ( series )
Adds a :py:class:`.ScatterSeries` to the chart.

        :param \*data: The data for the series as either (x,y) values or two big\
        tuples/lists of x and y values respectively.
        :param str name: The name to be associated with the series.
        :param str color: The hex colour of the line.
        :param Number size: The size of each data point - generally the diameter.
        :param Number linewidth: The width in pixels of the data points' edge.
        :raises ValueError: if the size and length of the data doesn't match\
        either format.