class_docstr: Test the PCA visualizer
class_docstr_tok: ["Test","the","PCA","visualizer"]
docstr: Assert an exception is raised with incompatible matplotlib versions
docstr_tok: ["Assert","an","exception","is","raised","with","incompatible","matplotlib","versions"]
code: def test_matplotlib_version_error():
      """
      Assert an exception is raised with incompatible matplotlib versions
      """
      with pytest.raises(YellowbrickValueError):
          PCA(colorbar=True, 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 21 for calling the TestPCA obj's underlying member method code with example usage: obj.test_matplotlib_version_error() without return types