class_docstr: Test the PCA visualizer
class_docstr_tok: ["Test","the","PCA","visualizer"]
docstr: Test the PCA visualizer 2 dimensions non-scaled.
docstr_tok: ["Test","the","PCA","visualizer","2","dimensions","non-scaled","."]
code: def test_scale_false_2d(self):
      """
      Test the PCA visualizer 2 dimensions non-scaled.
      """
      params = {"scale": False, "projection": 2, "random_state": 1229}
      visualizer = PCA(**params).fit(*self.continuous)
      pca_array = visualizer.transform(*self.continuous)
      visualizer.finalize()
      visualizer.cax.set_yticklabels([])
      # Image comparison tests
      # AppVeyor tests fail with RMS 8.180
      self.assert_images_similar(visualizer, tol=0.03, windows_tol=8.5)
  
      # Assert PCA transformation occurred successfully
      assert pca_array.shape == (self.continuous.X.shape[0], 2)
  
imports: import sys
  import pytest
  import numpy
  import numpy.testing
  from unittest import mock
  from tests.base import VisualTestCase, IS_WINDOWS_OR_CONDA
  from yellowbrick.features.pca import *
  from yellowbrick.exceptions import YellowbrickError, NotFitted
label_desc: Use image node_id 9 for calling the TestPCA obj's underlying member method code with example usage: obj.test_scale_false_2d() without return types