class_docstr: Creates random scatter plots as a testing utility.
  
  Data generation uses scikit-learn make_blobs to create scatter plots that
  have reasonable visual features and multiple colors.
  
  Parameters
  ----------
  ax : matplotlib Axes, default: None
      The axis to plot the figure on. If None is passed in the current axes
      will be used (or generated if required).
  
  n_samples : int, default: 100
      The number of points to generate for the scatter plot
  
  n_blobs : int or array of shape [n_centers, 2]
      Define the number of blobs to create or specify their centers.
  
  random_state : int, RandomState or None:
      Used to specify the seed of the random state to ensure tests work.
docstr: Returns random data according to the visualizer specification.
  
  Returns
  -------
  X : array of shape [n_samples, 2]
      2 dimensional array of points to plot
  
  y : vector with length n_samples
      Center/blob each point belongs to (used for color)
docstr_tok: ["Returns","random","data","according","to","the","visualizer","specification",".","Returns","--","--","--","-","X",":","array","of","shape","[","n_samples",",","2","]","2","dimensional","array","of","points","to","plot","y",":","vector","with","length","n_samples","Center\/blob","each","point","belongs","to","(","used","for","color",")"]
code: def generate(self):
      """
      Returns random data according to the visualizer specification.
  
      Returns
      -------
      X : array of shape [n_samples, 2]
          2 dimensional array of points to plot
  
      y : vector with length n_samples
          Center/blob each point belongs to (used for color)
      """
      return make_blobs(
          n_samples=self.n_samples,
          n_features=2,
          centers=self.n_blobs,
          random_state=self.random_state,
      )
  
file_path: yellowbrick/tests/rand.py
imports: import numpy
  from yellowbrick.base import Visualizer
  from yellowbrick.style import resolve_colors
  from sklearn.datasets import make_blobs
label_desc: Use image node_id 2 for calling the RandomVisualizer obj's underlying member method code with example usage: obj.generate() and returns: make_blobs