class_docstr: Test the PCA visualizer
class_docstr_tok: ["Test","the","PCA","visualizer"]
docstr: Assert an exception if colorbar and heatmap is enabled with 3-dimensions
docstr_tok: ["Assert","an","exception","if","colorbar","and","heatmap","is","enabled","with","3-dimensions"]
code: def test_3d_heatmap_enabled_error(self):
      """
      Assert an exception if colorbar and heatmap is enabled with 3-dimensions
      """
      with pytest.raises(YellowbrickValueError):
          PCA(projection=3, heatmap=True)
  
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 20 for calling the TestPCA obj's underlying member method code with example usage: obj.test_3d_heatmap_enabled_error() without return types