(self, sample_size)
Set the sample size

        Args:
            sample_size (int or None): sample size or `None` to show all points
Set the sample size
Set the sample size
def set_sample_size(self, sample_size):
        """
        Set the sample size

        Args:
            sample_size (int or None): sample size or `None` to show all points
        """
        if self.sample_size != sample_size:
            self.sample_size = sample_size
            self.reset_graph(True)
def set_sample_size ( self , sample_size ) : if self . sample_size != sample_size : self . sample_size = sample_size self . reset_graph ( True )