class_docstr: Tests for the VisualizerGrid layout class
class_docstr_tok: ["Tests","for","the","VisualizerGrid","layout","class"]
docstr: Draw a 4 visualizers grid with default options
code: def test_draw_visualizer_grid(self):
      """
      Draw a 4 visualizers grid with default options
      """
      visualizers = [
          RandomVisualizer(random_state=(1 + x) ** 2) for x in range(4)
      ]
  
      X, y = make_classification(random_state=78)
      grid = VisualizerGrid(visualizers)
  
      grid.fit(X, y)
      # show is required here (do not replace with finalize)!
      assert grid.show() is not None
  
      self.assert_images_similar(grid, tol=1.0)
  
imports: import pytest
  import matplotlib.pyplot
  from yellowbrick.base import *
  from yellowbrick.base import VisualizerGrid
  from yellowbrick.datasets import load_occupancy
  from yellowbrick.exceptions import YellowbrickWarning
  from yellowbrick.exceptions import YellowbrickValueError
  from unittest.mock import patch
  from unittest.mock import MagicMock
  from tests.rand import RandomVisualizer
  from tests.base import IS_WINDOWS_OR_CONDA, VisualTestCase
  from sklearn.svm import LinearSVC
  from sklearn.datasets import make_classification
label_desc: Use image node_id 1 for calling the TestVisualizerGrid obj's underlying member method code with example usage: obj.test_draw_visualizer_grid() without return types